bump version
[gitmo/Moose-Autobox.git] / lib / Moose / Autobox / Indexed.pm
CommitLineData
6cf5bcf2 1package Moose::Autobox::Indexed;
2use Moose::Role 'requires';
3
5efb6885 4our $VERSION = '0.14';
6cf5bcf2 5
680d0745 6requires 'at';
7requires 'put';
8requires 'exists';
9requires 'keys';
10requires 'values';
11requires 'kv';
18ef6e1c 12requires 'slice';
f089b856 13requires qw(each each_key each_value each_n_values);
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
2dcdd7d7 58=item B<slice>
59
60=item B<each>
61
62=item B<each_key>
63
64=item B<each_value>
65
260cc81f 66=back
67
31d40d73 68=head1 BUGS
69
70All complex software has bugs lurking in it, and this module is no
71exception. If you find a bug please either email me, or add the bug
72to cpan-RT.
73
74=head1 AUTHOR
75
76Stevan Little E<lt>stevan@iinteractive.comE<gt>
77
78=head1 COPYRIGHT AND LICENSE
79
ea4e64bf 80Copyright 2006-2008 by Infinity Interactive, Inc.
31d40d73 81
82L<http://www.iinteractive.com>
83
84This library is free software; you can redistribute it and/or modify
85it under the same terms as Perl itself.
86
18ef6e1c 87=cut