2 package Moose::AttributeHelpers::Trait::Collection::List;
6 $VERSION = eval $VERSION;
7 our $AUTHORITY = 'cpan:STEVAN';
9 use Moose::AttributeHelpers::MethodProvider::List;
11 with 'Moose::AttributeHelpers::Trait::Collection';
13 has 'method_provider' => (
16 predicate => 'has_method_provider',
17 default => 'Moose::AttributeHelpers::MethodProvider::List'
20 sub _helper_type { 'ArrayRef' }
24 package # hide me from search.cpan.org
25 Moose::Meta::Attribute::Custom::Trait::Collection::List;
26 sub register_implementation {
27 'Moose::AttributeHelpers::Trait::Collection::List'
39 Moose::AttributeHelpers::Collection::List
45 use Moose::AttributeHelpers;
48 metaclass => 'Collection::List',
50 isa => 'ArrayRef[Int]',
51 default => sub { [] },
54 filter_options => 'grep',
60 This module provides an List attribute which provides a number of
61 list operations. See L<Moose::AttributeHelpers::MethodProvider::List>
70 =item B<method_provider>
72 =item B<has_method_provider>
78 All complex software has bugs lurking in it, and this module is no
79 exception. If you find a bug please either email me, or add the bug
84 Stevan Little E<lt>stevan@iinteractive.comE<gt>
86 =head1 COPYRIGHT AND LICENSE
88 Copyright 2007-2009 by Infinity Interactive, Inc.
90 L<http://www.iinteractive.com>
92 This library is free software; you can redistribute it and/or modify
93 it under the same terms as Perl itself.