1MooseX::MethodAttributeUss(e3r)Contributed Perl DocumentMaotoisoenX::MethodAttributes(3)
2
3
4

NAME

6       MooseX::MethodAttributes - code attribute introspection
7

SYNOPSIS

9           package MyClass;
10
11           use Moose;
12           use MooseX::MethodAttributes;
13
14           sub foo : Bar Baz('corge') { ... }
15
16           my $attrs = MyClass->meta->get_method('foo')->attributes; # ["Bar", "Baz('corge')"]
17

DESCRIPTION

19       This module allows code attributes of methods to be introspected using
20       Moose meta method objects.
21

AUTHORS

23       ·   Florian Ragwitz <rafl@debian.org>
24
25       ·   Tomas Doran <bobtfish@bobtfish.net>
26
28       This software is copyright (c) 2010 by Florian Ragwitz.
29
30       This is free software; you can redistribute it and/or modify it under
31       the same terms as the Perl 5 programming language system itself.
32
33
34
35perl v5.12.1                      2010-07-19       MooseX::MethodAttributes(3)
Impressum