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