Moose::Autobox::Indexed - the Indexed role


Moose-Autobox documentation Contained in the Moose-Autobox distribution.

Index


Code Index:

NAME

Top

Moose::Autobox::Indexed - the Indexed role

DESCRIPTION

Top

This is a role to describes an collection whose values can be accessed by a key of some kind.

The role is entirely abstract, those which implement it must supply all it's methods. Currently both Moose::Autobox::Array and Moose::Autobox::Hash implement this role.

METHODS

Top

meta

REQUIRED METHODS

Top

at
put
exists
keys
values
kv
slice
each
each_key
each_value

BUGS

Top

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

AUTHOR

Top

Stevan Little <stevan@iinteractive.com>

COPYRIGHT AND LICENSE

Top


Moose-Autobox documentation Contained in the Moose-Autobox distribution.

package Moose::Autobox::Indexed;     
use Moose::Role 'requires';

our $VERSION = '0.11';

requires 'at';
requires 'put';
requires 'exists'; 
requires 'keys';
requires 'values'; 
requires 'kv';
requires 'slice';
requires qw(each each_key each_value each_n_values);

1;

__END__