2 package Moose::AttributeHelpers::Trait::Collection::ImmutableHash;
6 $VERSION = eval $VERSION;
7 our $AUTHORITY = 'cpan:STEVAN';
9 use Moose::AttributeHelpers::MethodProvider::ImmutableHash;
11 with 'Moose::AttributeHelpers::Trait::Collection';
13 has 'method_provider' => (
16 predicate => 'has_method_provider',
17 default => 'Moose::AttributeHelpers::MethodProvider::ImmutableHash'
20 sub _helper_type { 'HashRef' }
24 package # hide me from search.cpan.org
25 Moose::Meta::Attribute::Custom::Trait::Collection::ImmutableHash;
26 sub register_implementation {
27 'Moose::AttributeHelpers::Trait::Collection::ImmutableHash'
39 Moose::AttributeHelpers::Collection::ImmutableHash
45 use Moose::AttributeHelpers;
48 metaclass => 'Collection::ImmutableHash',
50 isa => 'HashRef[Str]',
51 default => sub { {} },
54 has_options => 'empty',
55 get_option_list => 'keys',
61 This module provides a immutable HashRef attribute which provides a number of
62 hash-line operations. See L<Moose::AttributeHelpers::MethodProvider::ImmutableHash>
71 =item B<method_provider>
73 =item B<has_method_provider>
79 All complex software has bugs lurking in it, and this module is no
80 exception. If you find a bug please either email me, or add the bug
85 Stevan Little E<lt>stevan@iinteractive.comE<gt>
87 =head1 COPYRIGHT AND LICENSE
89 Copyright 2007-2009 by Infinity Interactive, Inc.
91 L<http://www.iinteractive.com>
93 This library is free software; you can redistribute it and/or modify
94 it under the same terms as Perl itself.