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 # register the alias ...
25 package # hide me from search.cpan.org
26 Moose::Meta::Attribute::Custom::Trait::Collection::List;
27 sub register_implementation {
28 'Moose::AttributeHelpers::Trait::Collection::List'
40 Moose::AttributeHelpers::Collection::List
46 use Moose::AttributeHelpers;
49 metaclass => 'Collection::List',
51 isa => 'ArrayRef[Int]',
52 default => sub { [] },
55 filter_options => 'grep',
61 This module provides an List attribute which provides a number of
62 list operations. See L<Moose::AttributeHelpers::MethodProvider::List>
71 =item B<method_provider>
73 =item B<has_method_provider>
81 All complex software has bugs lurking in it, and this module is no
82 exception. If you find a bug please either email me, or add the bug
87 Stevan Little E<lt>stevan@iinteractive.comE<gt>
89 =head1 COPYRIGHT AND LICENSE
91 Copyright 2007-2009 by Infinity Interactive, Inc.
93 L<http://www.iinteractive.com>
95 This library is free software; you can redistribute it and/or modify
96 it under the same terms as Perl itself.