0.04
[gitmo/Moose-Autobox.git] / lib / Moose / Autobox / Indexed.pm
CommitLineData
6cf5bcf2 1package Moose::Autobox::Indexed;
2use Moose::Role 'requires';
3
4our $VERSION = '0.01';
5
680d0745 6requires 'at';
7requires 'put';
8requires 'exists';
9requires 'keys';
10requires 'values';
11requires 'kv';
6cf5bcf2 12
31d40d73 131;
14
15__END__
16
17=pod
18
19=head1 NAME
20
21Moose::Autobox::Indexed - the Indexed role
22
31d40d73 23=head1 DESCRIPTION
24
8937074a 25This is a role to describes an collection whose values can be
26accessed by a key of some kind.
27
28The role is entirely abstract, those which implement it must
29supply all it's methods. Currently both L<Moose::Autobox::Array>
30and L<Moose::Autobox::Hash> implement this role.
31
260cc81f 32=head1 METHODS
33
34=over 4
35
36=item B<meta>
37
38=back
39
40=head1 REQUIRED METHODS
41
42=over 4
43
44=item B<at>
45
46=item B<put>
47
48=item B<exists>
49
50=item B<keys>
51
52=item B<values>
53
54=item B<kv>
55
56=back
57
31d40d73 58=head1 BUGS
59
60All complex software has bugs lurking in it, and this module is no
61exception. If you find a bug please either email me, or add the bug
62to cpan-RT.
63
64=head1 AUTHOR
65
66Stevan Little E<lt>stevan@iinteractive.comE<gt>
67
68=head1 COPYRIGHT AND LICENSE
69
b3cb7038 70Copyright 2006-2007 by Infinity Interactive, Inc.
31d40d73 71
72L<http://www.iinteractive.com>
73
74This library is free software; you can redistribute it and/or modify
75it under the same terms as Perl itself.
76
77=cut