1MooseX::MethodAttributeUss:e:rRoCloen(t3r)ibuted Perl DoMcouomseenXt:a:tMieotnhodAttributes::Role(3)
2
3
4
6 MooseX::MethodAttributes::Role - code attribute introspection
7
9 package MyRole;
10 use MooseX::MethodAttributes::Role;
11
12 sub foo : Bar Baz('corge') { ... }
13
14 my $attrs = MyRole->meta->get_method('foo')->attributes; # ["Bar", "Baz('corge')"]
15
17 This module allows you to write a Moose Role with code attributes of
18 methods to be introspected using Moose meta method objects.
19
21 · Florian Ragwitz <rafl@debian.org>
22
23 · Tomas Doran <bobtfish@bobtfish.net>
24
26 This software is copyright (c) 2010 by Florian Ragwitz.
27
28 This is free software; you can redistribute it and/or modify it under
29 the same terms as the Perl 5 programming language system itself.
30
31
32
33perl v5.12.1 2010-07-19 MooseX::MethodAttributes::Role(3)