2 package MooseX::AttributeHelpers::Collection::Array;
6 our $AUTHORITY = 'cpan:STEVAN';
8 extends 'Moose::Meta::Attribute';
9 with 'MooseX::AttributeHelpers::Trait::Collection::Array';
13 # register the alias ...
14 package # hide me from search.cpan.org
15 Moose::Meta::Attribute::Custom::Collection::Array;
16 sub register_implementation { 'MooseX::AttributeHelpers::Collection::Array' }
27 MooseX::AttributeHelpers::Collection::Array
33 use MooseX::AttributeHelpers;
36 metaclass => 'Collection::Array',
38 isa => 'ArrayRef[Int]',
39 default => sub { [] },
41 'push' => 'add_options',
42 'pop' => 'remove_last_option',
48 This module provides an Array attribute which provides a number of
49 array operations. See L<MooseX::AttributeHelpers::MethodProvider::Array>
58 =item B<method_provider>
60 =item B<has_method_provider>
68 All complex software has bugs lurking in it, and this module is no
69 exception. If you find a bug please either email me, or add the bug
74 Stevan Little E<lt>stevan@iinteractive.comE<gt>
76 =head1 COPYRIGHT AND LICENSE
78 Copyright 2007-2008 by Infinity Interactive, Inc.
80 L<http://www.iinteractive.com>
82 This library is free software; you can redistribute it and/or modify
83 it under the same terms as Perl itself.