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