1MooseX::MethodAttributeUss:e:rInChoenrtirtiabbultee(d3M)PoeorsleXD:o:cMuemtehnotdaAttitornibutes::Inheritable(3)
2
3
4
6 MooseX::MethodAttributes::Inheritable - inheritable code attribute
7 introspection
8
10 package BaseClass;
11 use base qw/MooseX::MethodAttributes::Inheritable/;
12
13 package SubClass;
14 use base qw/BaseClass/;
15
16 sub foo : Bar {}
17
18 my $attrs = SubClass->meta->get_method('foo')->attributes; # ["Bar"]
19
21 This module does the same as "MooseX::MethodAttributes", except that
22 classes inheriting from other classes using it don't need to do
23 anything special to get their code attributes captured.
24
26 · Florian Ragwitz <rafl@debian.org>
27
28 · Tomas Doran <bobtfish@bobtfish.net>
29
31 This software is copyright (c) 2010 by Florian Ragwitz.
32
33 This is free software; you can redistribute it and/or modify it under
34 the same terms as the Perl 5 programming language system itself.
35
36
37
38perl v5.12.1 2010-M0o7o-s1e9X::MethodAttributes::Inheritable(3)