1 package MooseX::AttributeHelpers::Collection::Array;
3 use MooseX::AttributeHelpers::MethodProvider::Collection::Array;
5 extends 'MooseX::AttributeHelpers::Collection';
8 our $AUTHORITY = 'cpan:STEVAN';
11 method_provider => 'Collection::Array',
12 shortcut => 'Collection::Array',
25 MooseX::AttributeHelpers::Collection::Array
31 use MooseX::AttributeHelpers;
34 metaclass => 'Collection::Array',
36 isa => 'ArrayRef[Int]',
37 default => sub { [] },
39 'push' => 'add_options',
40 'pop' => 'remove_last_option',
46 This module provides an Array attribute which provides a number of
49 =head1 PROVIDED METHODS
51 The methods for this metaclass are provided by
52 L<MooseX::AttributeHelpers::MethodProvider::Collection::Array>.
56 All complex software has bugs lurking in it, and this module is no
57 exception. If you find a bug please either email me, or add the bug
62 Stevan Little E<lt>stevan@iinteractive.comE<gt>
64 =head1 COPYRIGHT AND LICENSE
66 Copyright 2007-2008 by Infinity Interactive, Inc.
68 L<http://www.iinteractive.com>
70 This library is free software; you can redistribute it and/or modify
71 it under the same terms as Perl itself.