1MooseX::MethodAttributeUss(e3r)Contributed Perl DocumentMaotoisoenX::MethodAttributes(3)
2
3
4
6 MooseX::MethodAttributes - Code attribute introspection
7
9 version 0.32
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 "#moose" on "irc.perl.org" <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 • Graham Knop <haarg@haarg.org>
50
51 • Peter E Karman <pek@dewpoint.msi.umn.edu>
52
53 • David Steinbrunner <dsteinbrunner@pobox.com>
54
56 This software is copyright (c) 2009 by Florian Ragwitz.
57
58 This is free software; you can redistribute it and/or modify it under
59 the same terms as the Perl 5 programming language system itself.
60
61
62
63perl v5.32.1 2021-01-27 MooseX::MethodAttributes(3)