line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooX::BuildRole; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
458
|
use strictures 2; |
|
3
|
|
|
|
|
23
|
|
|
3
|
|
|
|
|
110
|
|
4
|
3
|
|
|
3
|
|
1822
|
use Moo::Role 1.004000 (); # required to get %INC-marking |
|
3
|
|
|
|
|
15588
|
|
|
3
|
|
|
|
|
113
|
|
5
|
|
|
|
|
|
|
use Package::Variant 1.003002 # |
6
|
3
|
|
|
|
|
23
|
importing => ['Moo::Role'], |
7
|
3
|
|
|
3
|
|
79
|
subs => [qw(extends has with before around after requires)]; |
|
3
|
|
|
|
|
51
|
|
8
|
|
|
|
|
|
|
|
9
|
3
|
|
|
3
|
|
429
|
use MooX::BuildClass::Utils qw( make_variant_package_name make_variant ); |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
296
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.152690'; # 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__ |