MooseX::MethodAttributes::Role - code attribute introspection


MooseX-MethodAttributes documentation  | view source Contained in the MooseX-MethodAttributes distribution.

Index


NAME

Top

MooseX::MethodAttributes::Role - code attribute introspection

SYNOPSIS

Top

    package MyRole;
    use MooseX::MethodAttributes::Role;

    sub foo : Bar Baz('corge') { ... }

    my $attrs = MyRole->meta->get_method('foo')->attributes; # ["Bar", "Baz('corge')"]

DESCRIPTION

Top

This module allows you to write a Moose Role with code attributes of methods to be introspected using Moose meta method objects.

AUTHORS

Top

COPYRIGHT AND LICENSE

Top


MooseX-MethodAttributes documentation  | view source Contained in the MooseX-MethodAttributes distribution.