2 package MooseX::AttributeHelpers::Collection::List;
6 $VERSION = eval $VERSION;
7 our $AUTHORITY = 'cpan:STEVAN';
9 use MooseX::AttributeHelpers::MethodProvider::List;
11 extends 'MooseX::AttributeHelpers::Collection';
13 has '+method_provider' => (
14 default => 'MooseX::AttributeHelpers::MethodProvider::List'
17 sub helper_type { 'ArrayRef' }
21 # register the alias ...
22 package # hide me from search.cpan.org
23 Moose::Meta::Attribute::Custom::Collection::List;
24 sub register_implementation { 'MooseX::AttributeHelpers::Collection::List' }
35 MooseX::AttributeHelpers::Collection::List
41 use MooseX::AttributeHelpers;
44 metaclass => 'Collection::List',
46 isa => 'ArrayRef[Int]',
47 default => sub { [] },
50 grep => 'filter_options',
56 This module provides an List attribute which provides a number of
57 list operations. See L<MooseX::AttributeHelpers::MethodProvider::List>
66 =item B<method_provider>
68 =item B<has_method_provider>
76 All complex software has bugs lurking in it, and this module is no
77 exception. If you find a bug please either email me, or add the bug
82 Stevan Little E<lt>stevan@iinteractive.comE<gt>
84 =head1 COPYRIGHT AND LICENSE
86 Copyright 2007-2008 by Infinity Interactive, Inc.
88 L<http://www.iinteractive.com>
90 This library is free software; you can redistribute it and/or modify
91 it under the same terms as Perl itself.