1MooseX::MethodAttributeUss:e:rRoCloen:t:rMiMebotuoats:ee:dXC:lP:aeMsreslt(h3Do)odcAutmternitbauttieosn::Role::Meta::Class(3)
2
3
4

NAME

6       MooseX::MethodAttributes::Role::Meta::Class - metaclass role for
7       storing code attributes
8

VERSION

10       version 0.31
11

METHODS

13   get_method_with_attributes_list
14       Gets the list of meta methods for local methods of this class that have
15       attributes in the order they have been registered.
16
17   get_all_methods_with_attributes
18       Gets the list of meta methods of local and inherited methods of this
19       class, that have attributes. Base class methods come before subclass
20       methods. Methods of one class have the order they have been declared
21       in.
22
23   get_nearest_methods_with_attributes
24       The same as get_all_methods_with_attributes, except that methods from
25       parent classes are not included if there is an attribute-less method in
26       a child class.
27
28       For example, given:
29
30           package BaseClass;
31
32           sub foo : Attr {}
33
34           sub bar : Attr {}
35
36           package SubClass;
37           use base qw/BaseClass/;
38
39           sub foo {}
40
41           after bar => sub {}
42
43       "SubClass->meta->get_all_methods_with_attributes" will return
44       "BaseClass->meta->get_method('foo')" for the above example, but this
45       method will not, and will return the wrapped bar method, whereas
46       "get_all_methods_with_attributes" will return the original method.
47

SUPPORT

49       Bugs may be submitted through the RT bug tracker
50       <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-
51       MethodAttributes> (or bug-MooseX-MethodAttributes@rt.cpan.org
52       <mailto:bug-MooseX-MethodAttributes@rt.cpan.org>).
53
54       There is also a mailing list available for users of this distribution,
55       at <http://lists.perl.org/list/moose.html>.
56
57       There is also an irc channel available for users of this distribution,
58       at irc://irc.perl.org/#moose.
59

AUTHORS

61       ·   Florian Ragwitz <rafl@debian.org>
62
63       ·   Tomas Doran <bobtfish@bobtfish.net>
64
66       This software is copyright (c) 2009 by Florian Ragwitz.
67
68       This is free software; you can redistribute it and/or modify it under
69       the same terms as the Perl 5 programming language system itself.
70
71
72
73perl v5.30.1                    Mo2o0s2e0X-:0:1M-e3t0hodAttributes::Role::Meta::Class(3)
Impressum