2 package MooseX::AttributeHelpers::Collection::Hash;
6 our $AUTHORITY = 'cpan:STEVAN';
8 extends 'Moose::Meta::Attribute';
9 with 'MooseX::AttributeHelpers::Trait::Collection::Hash';
13 # register the alias ...
14 package # hide me from search.cpan.org
15 Moose::Meta::Attribute::Custom::Collection::Hash;
16 sub register_implementation { 'MooseX::AttributeHelpers::Collection::Hash' }
27 MooseX::AttributeHelpers::Collection::Hash
33 use MooseX::AttributeHelpers;
36 metaclass => 'Collection::Hash',
38 isa => 'HashRef[Str]',
39 default => sub { {} },
41 'set' => 'set_option',
42 'get' => 'get_option',
43 'empty' => 'has_options',
44 'count' => 'num_options',
45 'delete' => 'delete_option',
51 This module provides an Hash attribute which provides a number of
52 hash-like operations. See L<MooseX::AttributeHelpers::MethodProvider::Hash>
61 =item B<method_provider>
63 =item B<has_method_provider>
71 All complex software has bugs lurking in it, and this module is no
72 exception. If you find a bug please either email me, or add the bug
77 Stevan Little E<lt>stevan@iinteractive.comE<gt>
79 =head1 COPYRIGHT AND LICENSE
81 Copyright 2007-2008 by Infinity Interactive, Inc.
83 L<http://www.iinteractive.com>
85 This library is free software; you can redistribute it and/or modify
86 it under the same terms as Perl itself.