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=d3706cf4253244c22cc63fdf511b08ba9c853151;hpb=260cc81f7ab424f417900ab1c44b734b339f9d9e;p=gitmo%2FMoose-Autobox.git diff --git a/lib/Moose/Autobox/Indexed.pm b/lib/Moose/Autobox/Indexed.pm index d3706cf..feb0174 100644 --- a/lib/Moose/Autobox/Indexed.pm +++ b/lib/Moose/Autobox/Indexed.pm @@ -3,14 +3,13 @@ use Moose::Role 'requires'; our $VERSION = '0.01'; -requires qw/ - at - put - exists - keys - values - kv -/; +requires 'at'; +requires 'put'; +requires 'exists'; +requires 'keys'; +requires 'values'; +requires 'kv'; +requires 'slice'; 1; @@ -22,12 +21,14 @@ __END__ Moose::Autobox::Indexed - the Indexed role -=head1 SYNOPOSIS +=head1 DESCRIPTION - use Moose::Autobox; - use autobox; +This is a role to describes an collection whose values can be +accessed by a key of some kind. -=head1 DESCRIPTION +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 @@ -67,11 +68,11 @@ Stevan Little Estevan@iinteractive.comE =head1 COPYRIGHT AND LICENSE -Copyright 2006 by Infinity Interactive, Inc. +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 \ No newline at end of file +=cut