line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooX::BuildClass; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
162148
|
use strictures 2; |
|
4
|
|
|
|
|
60
|
|
|
4
|
|
|
|
|
207
|
|
4
|
4
|
|
|
4
|
|
2583
|
use Moo 1.004000 (); # required to get %INC-marking |
|
4
|
|
|
|
|
33367
|
|
|
4
|
|
|
|
|
195
|
|
5
|
|
|
|
|
|
|
use Package::Variant 1.003002 # |
6
|
4
|
|
|
|
|
41
|
importing => ['Moo'], |
7
|
4
|
|
|
4
|
|
2895
|
subs => [qw(extends has with before around after)]; |
|
4
|
|
|
|
|
10470
|
|
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
2897
|
use MooX::BuildClass::Utils qw( make_variant_package_name make_variant ); |
|
4
|
|
|
|
|
13
|
|
|
4
|
|
|
|
|
434
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.213360'; # 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__ |