MooseX::AttributeIndexes::Provider - A role that advertises an object is capable of providing metadata.
version 1.0.2
use Moose; with 'MooseX::AttributeIndexes::Provider'; sub attribute_indexes { return { foo => 'bar', }; }
This code is alpha, and its interface is prone to change.
attribute_indexes
A sub that returns a hashref of index-name=>index-value entries for the given object
Kent Fredric <kentnl@cpan.org>
Jesse Luehrs <doy@cpan.org>
This software is copyright (c) 2011 by Kent Fredric.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MooseX::AttributeIndexes, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::AttributeIndexes
CPAN shell
perl -MCPAN -e shell install MooseX::AttributeIndexes
For more information on module installation, please visit the detailed CPAN module installation guide.