2 package Moose::Autobox::List;
3 use Moose::Role 'with', 'requires';
8 with 'Moose::Autobox::Value';
22 my ($array, $func) = @_;
23 my $a = $array->values;
25 $a->tail->map(sub { $acc = $func->($acc, $_) });
30 my ($array, $other) = @_;
31 ($array->length < $other->length
36 [ $array->at($_), $other->at($_) ]
48 Moose::Autobox::List - the List role
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 2006 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.