Kent Fredric │‫3﹪🔋
and 2 contributors

NAME

MooseX::AttributeIndexes::Provider - A role that advertises an object is capable of providing metadata.

VERSION

version 2.000000

SYNOPSIS

  use Moose;
  with 'MooseX::AttributeIndexes::Provider';

  sub attribute_indexes {
    return {
      foo => 'bar',
    };
  }

WARNING

This code is alpha, and its interface is prone to change.

REQUIRES

attribute_indexes

A sub that returns a hashref of index-name=>index-value entries for the given object

AUTHORS

  • Kent Fredric <kentnl@cpan.org>

  • Jesse Luehrs <doy@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.