1MooseX::MethodAttributeUss(e3r)Contributed Perl DocumentMaotoisoenX::MethodAttributes(3)
2
3
4
6 MooseX::MethodAttributes - Code attribute introspection
7
9 version 0.31
10
12 package MyClass;
13
14 use Moose;
15 use MooseX::MethodAttributes;
16
17 sub foo : Bar Baz('corge') { ... }
18
19 my $attrs = MyClass->meta->get_method('foo')->attributes; # ["Bar", "Baz('corge')"]
20
22 This module allows code attributes of methods to be introspected using
23 Moose meta method objects.
24
26 Bugs may be submitted through the RT bug tracker
27 <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-
28 MethodAttributes> (or bug-MooseX-MethodAttributes@rt.cpan.org
29 <mailto:bug-MooseX-MethodAttributes@rt.cpan.org>).
30
31 There is also a mailing list available for users of this distribution,
32 at <http://lists.perl.org/list/moose.html>.
33
34 There is also an irc channel available for users of this distribution,
35 at irc://irc.perl.org/#moose.
36
38 · Florian Ragwitz <rafl@debian.org>
39
40 · Tomas Doran <bobtfish@bobtfish.net>
41
43 · Karen Etheridge <ether@cpan.org>
44
45 · Dave Rolsky <autarch@urth.org>
46
47 · Marcus Ramberg <marcus@nordaaker.com>
48
49 · Peter E Karman <pek@dewpoint.msi.umn.edu>
50
51 · David Steinbrunner <dsteinbrunner@pobox.com>
52
54 This software is copyright (c) 2009 by Florian Ragwitz.
55
56 This is free software; you can redistribute it and/or modify it under
57 the same terms as the Perl 5 programming language system itself.
58
59
60
61perl v5.32.0 2020-07-28 MooseX::MethodAttributes(3)