2 package MooseX::AttributeHelpers::Trait::Collection::List;
6 $VERSION = eval $VERSION;
7 our $AUTHORITY = 'cpan:STEVAN';
9 use MooseX::AttributeHelpers::MethodProvider::List;
11 with 'MooseX::AttributeHelpers::Trait::Collection';
13 has 'method_provider' => (
16 predicate => 'has_method_provider',
17 default => 'MooseX::AttributeHelpers::MethodProvider::List'
20 sub helper_type { 'ArrayRef' }
32 MooseX::AttributeHelpers::Collection::List
38 use MooseX::AttributeHelpers;
41 metaclass => 'Collection::List',
43 isa => 'ArrayRef[Int]',
44 default => sub { [] },
47 grep => 'filter_options',
53 This module provides an List attribute which provides a number of
54 list operations. See L<MooseX::AttributeHelpers::MethodProvider::List>
63 =item B<method_provider>
65 =item B<has_method_provider>
73 All complex software has bugs lurking in it, and this module is no
74 exception. If you find a bug please either email me, or add the bug
79 Stevan Little E<lt>stevan@iinteractive.comE<gt>
81 =head1 COPYRIGHT AND LICENSE
83 Copyright 2007-2009 by Infinity Interactive, Inc.
85 L<http://www.iinteractive.com>
87 This library is free software; you can redistribute it and/or modify
88 it under the same terms as Perl itself.