line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooX::BuildClass; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
57108
|
use strictures 2; |
|
4
|
|
|
|
|
30
|
|
|
4
|
|
|
|
|
180
|
|
4
|
4
|
|
|
4
|
|
3412
|
use Moo 1.004000 (); # required to get %INC-marking |
|
4
|
|
|
|
|
42084
|
|
|
4
|
|
|
|
|
166
|
|
5
|
|
|
|
|
|
|
use Package::Variant 1.003002 # |
6
|
4
|
|
|
|
|
36
|
importing => ['Moo'], |
7
|
4
|
|
|
4
|
|
3469
|
subs => [qw(extends has with before around after)]; |
|
4
|
|
|
|
|
10354
|
|
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
2746
|
use MooX::BuildClass::Utils qw( make_variant_package_name make_variant ); |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
318
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.152700'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
# ABSTRACT: build a Moo class 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__ |