1MooseX::MethodAttributeUss:e:rRoCloen(t3r)ibuted Perl DoMcouomseenXt:a:tMieotnhodAttributes::Role(3)
2
3
4
6 MooseX::MethodAttributes::Role - code attribute introspection
7
9 version 0.32
10
12 package MyRole;
13 use MooseX::MethodAttributes::Role;
14
15 sub foo : Bar Baz('corge') { ... }
16
17 my $attrs = MyRole->meta->get_method('foo')->attributes; # ["Bar", "Baz('corge')"]
18
20 This module allows you to write a Moose Role with code attributes of
21 methods to be introspected using Moose meta method objects.
22
24 Bugs may be submitted through the RT bug tracker
25 <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-
26 MethodAttributes> (or bug-MooseX-MethodAttributes@rt.cpan.org
27 <mailto:bug-MooseX-MethodAttributes@rt.cpan.org>).
28
29 There is also a mailing list available for users of this distribution,
30 at <http://lists.perl.org/list/moose.html>.
31
32 There is also an irc channel available for users of this distribution,
33 at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
34
36 • Florian Ragwitz <rafl@debian.org>
37
38 • Tomas Doran <bobtfish@bobtfish.net>
39
41 This software is copyright (c) 2009 by Florian Ragwitz.
42
43 This is free software; you can redistribute it and/or modify it under
44 the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.38.0 2023-07-21 MooseX::MethodAttributes::Role(3)