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