line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooX::BuildRole; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
454
|
use strictures 2; |
|
3
|
|
|
|
|
26
|
|
|
3
|
|
|
|
|
195
|
|
4
|
3
|
|
|
3
|
|
2159
|
use Moo::Role 1.004000 (); # required to get %INC-marking |
|
3
|
|
|
|
|
17519
|
|
|
3
|
|
|
|
|
125
|
|
5
|
|
|
|
|
|
|
use Package::Variant 1.003002 # |
6
|
3
|
|
|
|
|
24
|
importing => ['Moo::Role'], |
7
|
3
|
|
|
3
|
|
19
|
subs => [qw(extends has with before around after requires)]; |
|
3
|
|
|
|
|
51
|
|
8
|
|
|
|
|
|
|
|
9
|
3
|
|
|
3
|
|
534
|
use MooX::BuildClass::Utils qw( make_variant_package_name make_variant ); |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
237
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.152700'; # 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__ |