line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooX::BuildRole; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
551
|
use strictures 2; |
|
3
|
|
|
|
|
36
|
|
|
3
|
|
|
|
|
122
|
|
4
|
3
|
|
|
3
|
|
1599
|
use Moo::Role 1.004000 (); # required to get %INC-marking |
|
3
|
|
|
|
|
20361
|
|
|
3
|
|
|
|
|
152
|
|
5
|
|
|
|
|
|
|
use Package::Variant 1.003002 # |
6
|
3
|
|
|
|
|
33
|
importing => ['Moo::Role'], |
7
|
3
|
|
|
3
|
|
25
|
subs => [qw(extends has with before around after requires)]; |
|
3
|
|
|
|
|
58
|
|
8
|
|
|
|
|
|
|
|
9
|
3
|
|
|
3
|
|
574
|
use MooX::BuildClass::Utils qw( make_variant_package_name make_variant ); |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
325
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.213360'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
# ABSTRACT: build a Moo role at runtime |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# |
16
|
|
|
|
|
|
|
# This file is part of Throwable-SugarFactory |
17
|
|
|
|
|
|
|
# |
18
|
|
|
|
|
|
|
# |
19
|
|
|
|
|
|
|
# Christian Walde has dedicated the work to the Commons by waiving all of his |
20
|
|
|
|
|
|
|
# or her rights to the work worldwide under copyright law and all related or |
21
|
|
|
|
|
|
|
# neighboring legal rights he or she had in the work, to the extent allowable by |
22
|
|
|
|
|
|
|
# law. |
23
|
|
|
|
|
|
|
# |
24
|
|
|
|
|
|
|
# Works under CC0 do not require attribution. When citing the work, you should |
25
|
|
|
|
|
|
|
# not imply endorsement by the author. |
26
|
|
|
|
|
|
|
# |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |