| Moose-Autobox documentation | Contained in the Moose-Autobox distribution. |
Moose::Autobox::Indexed - the Indexed role
This is a role to describes an collection whose values can be accessed by a key of some kind.
The role is entirely abstract, those which implement it must supply all it's methods. Currently both Moose::Autobox::Array and Moose::Autobox::Hash implement this role.
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Stevan Little <stevan@iinteractive.com>
Copyright 2006-2008 by Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Moose-Autobox documentation | Contained in the Moose-Autobox distribution. |
package Moose::Autobox::Indexed; use Moose::Role 'requires'; our $VERSION = '0.11'; requires 'at'; requires 'put'; requires 'exists'; requires 'keys'; requires 'values'; requires 'kv'; requires 'slice'; requires qw(each each_key each_value each_n_values); 1; __END__