1 package Moose::Autobox::Indexed;
2 use Moose::Role 'requires';
13 requires qw(each each_key each_value);
23 Moose::Autobox::Indexed - the Indexed role
27 This is a role to describes an collection whose values can be
28 accessed by a key of some kind.
30 The role is entirely abstract, those which implement it must
31 supply all it's methods. Currently both L<Moose::Autobox::Array>
32 and L<Moose::Autobox::Hash> implement this role.
42 =head1 REQUIRED METHODS
70 All complex software has bugs lurking in it, and this module is no
71 exception. If you find a bug please either email me, or add the bug
76 Stevan Little E<lt>stevan@iinteractive.comE<gt>
78 =head1 COPYRIGHT AND LICENSE
80 Copyright 2006-2008 by Infinity Interactive, Inc.
82 L<http://www.iinteractive.com>
84 This library is free software; you can redistribute it and/or modify
85 it under the same terms as Perl itself.