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