| MooseX-AttributeIndexes documentation | Contained in the MooseX-AttributeIndexes distribution. |
MooseX::AttributeIndexes::Meta::Role::ApplicationToClass
version 1.0.1
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.
| MooseX-AttributeIndexes documentation | Contained in the MooseX-AttributeIndexes distribution. |
use strict; use warnings; package MooseX::AttributeIndexes::Meta::Role::ApplicationToClass; BEGIN { $MooseX::AttributeIndexes::Meta::Role::ApplicationToClass::VERSION = '1.0.1'; } use Moose::Role; around apply => sub { my $orig = shift; my $self = shift; my ($role, $class) = @_; Moose::Util::MetaRole::apply_base_class_roles( for => $class->name, roles => [ 'MooseX::AttributeIndexes::Provider', 'MooseX::AttributeIndexes::Provider::FromAttributes', ], ); $self->$orig( $role, $class ); }; no Moose::Role; 1; __END__