2 package Moose::Meta::Attribute::Native::Trait::Hash;
6 $VERSION = eval $VERSION;
7 our $AUTHORITY = 'cpan:STEVAN';
9 use Moose::Meta::Attribute::Native::MethodProvider::Hash;
11 with 'Moose::Meta::Attribute::Native::Trait';
13 has 'method_provider' => (
16 predicate => 'has_method_provider',
17 default => 'Moose::Meta::Attribute::Native::MethodProvider::Hash'
20 sub _helper_type { 'HashRef' }
32 Moose::Meta::Attribute::Native::Trait::Hash
38 use Moose::AttributeHelpers;
43 isa => 'HashRef[Str]',
44 default => sub { {} },
48 has_options => 'empty',
49 num_options => 'count',
50 delete_option => 'delete',
56 This module provides a Hash attribute which provides a number of
57 hash-like operations. See L<Moose::Meta::Attribute::Native::MethodProvider::Hash>
66 =item B<method_provider>
68 =item B<has_method_provider>
74 All complex software has bugs lurking in it, and this module is no
75 exception. If you find a bug please either email me, or add the bug
80 Stevan Little E<lt>stevan@iinteractive.comE<gt>
82 =head1 COPYRIGHT AND LICENSE
84 Copyright 2007-2009 by Infinity Interactive, Inc.
86 L<http://www.iinteractive.com>
88 This library is free software; you can redistribute it and/or modify
89 it under the same terms as Perl itself.