2 package MooseX::AttributeHelpers::Collection::List;
4 use MooseX::AttributeHelpers::Sugar;
6 extends 'MooseX::AttributeHelpers::Collection';
9 our $AUTHORITY = 'cpan:STEVAN';
11 define_attribute_helper (
12 helper_type => 'ArrayRef',
13 method_provider => 'MooseX::AttributeHelpers::MethodProvider::List',
14 shortcut => 'Collection::List',
18 no MooseX::AttributeHelpers::Sugar;
28 MooseX::AttributeHelpers::Collection::List
34 use MooseX::AttributeHelpers;
37 metaclass => 'Collection::List',
39 isa => 'ArrayRef[Int]',
40 default => sub { [] },
43 grep => 'fitler_options',
49 This module provides an List attribute which provides a number of
52 =head1 PROVIDED METHODS
54 The methods for this metaclass are provided by
55 L<MooseX::AttributeHelpers::MethodProvider::List>.
59 All complex software has bugs lurking in it, and this module is no
60 exception. If you find a bug please either email me, or add the bug
65 Stevan Little E<lt>stevan@iinteractive.comE<gt>
67 =head1 COPYRIGHT AND LICENSE
69 Copyright 2007-2008 by Infinity Interactive, Inc.
71 L<http://www.iinteractive.com>
73 This library is free software; you can redistribute it and/or modify
74 it under the same terms as Perl itself.