X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FAutobox%2FIndexed.pm;h=feb017433057374efa0508087cbaa31ce90e7dc4;hb=18ef6e1c6698a79fb754a81ee1277c8d9bef80f9;hp=9b923cfc1f7e21a49f09b405e06a84cdf30a5429;hpb=6cf5bcf23399cc82e234f91a2e78f262bf70eab1;p=gitmo%2FMoose-Autobox.git diff --git a/lib/Moose/Autobox/Indexed.pm b/lib/Moose/Autobox/Indexed.pm index 9b923cf..feb0174 100644 --- a/lib/Moose/Autobox/Indexed.pm +++ b/lib/Moose/Autobox/Indexed.pm @@ -3,6 +3,76 @@ use Moose::Role 'requires'; our $VERSION = '0.01'; -requires qw/exists keys values kv/; +requires 'at'; +requires 'put'; +requires 'exists'; +requires 'keys'; +requires 'values'; +requires 'kv'; +requires 'slice'; -1; \ No newline at end of file +1; + +__END__ + +=pod + +=head1 NAME + +Moose::Autobox::Indexed - the Indexed role + +=head1 DESCRIPTION + +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 L +and L implement this role. + +=head1 METHODS + +=over 4 + +=item B + +=back + +=head1 REQUIRED METHODS + +=over 4 + +=item B + +=item B + +=item B + +=item B + +=item B + +=item B + +=back + +=head1 BUGS + +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. + +=head1 AUTHOR + +Stevan Little Estevan@iinteractive.comE + +=head1 COPYRIGHT AND LICENSE + +Copyright 2006-2008 by Infinity Interactive, Inc. + +L + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut