2 package Moose::Meta::Attribute::Native::Trait::Array;
6 $VERSION = eval $VERSION;
7 our $AUTHORITY = 'cpan:STEVAN';
9 use Moose::Meta::Attribute::Native::MethodProvider::Array;
11 with 'Moose::Meta::Attribute::Native::Trait';
13 has 'method_provider' => (
16 predicate => 'has_method_provider',
17 default => 'Moose::Meta::Attribute::Native::MethodProvider::Array'
20 sub _helper_type { 'ArrayRef' }
32 Moose::Meta::Attribute::Native::Trait::Array
38 use Moose::AttributeHelpers;
43 isa => 'ArrayRef[Int]',
44 default => sub { [] },
46 add_options => 'push',
47 remove_last_option => 'pop',
53 This module provides an Array attribute which provides a number of
54 array operations. See L<Moose::Meta::Attribute::Native::MethodProvider::Array>
63 =item B<method_provider>
65 =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-2009 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.