line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moxie::Traits::Provider; |
2
|
|
|
|
|
|
|
# ABSTRACT: built in traits |
3
|
|
|
|
|
|
|
|
4
|
49
|
|
|
49
|
|
462
|
use v5.22; |
|
49
|
|
|
|
|
142
|
|
5
|
49
|
|
|
49
|
|
224
|
use warnings; |
|
49
|
|
|
|
|
78
|
|
|
49
|
|
|
|
|
1493
|
|
6
|
49
|
|
|
|
|
218
|
use experimental qw[ |
7
|
|
|
|
|
|
|
signatures |
8
|
|
|
|
|
|
|
postderef |
9
|
49
|
|
|
49
|
|
237
|
]; |
|
49
|
|
|
|
|
75
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.07'; |
12
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:STEVAN'; |
13
|
|
|
|
|
|
|
|
14
|
49
|
|
|
49
|
|
7154
|
use Module::Runtime (); |
|
49
|
|
|
|
|
104
|
|
|
49
|
|
|
|
|
1108
|
|
15
|
|
|
|
|
|
|
|
16
|
49
|
|
|
49
|
|
13170
|
use Moxie::Traits::Provider::Accessor (); |
|
49
|
|
|
|
|
117
|
|
|
49
|
|
|
|
|
1160
|
|
17
|
49
|
|
|
49
|
|
14944
|
use Moxie::Traits::Provider::Constructor (); |
|
49
|
|
|
|
|
118
|
|
|
49
|
|
|
|
|
7580
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
our @PROVIDERS = qw( |
20
|
|
|
|
|
|
|
Moxie::Traits::Provider::Accessor |
21
|
|
|
|
|
|
|
Moxie::Traits::Provider::Constructor |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
our @EXPERIMENTAL_PROVIDERS = qw( |
25
|
|
|
|
|
|
|
Moxie::Traits::Provider::Experimental |
26
|
|
|
|
|
|
|
); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
## ... |
29
|
|
|
|
|
|
|
|
30
|
138
|
|
|
138
|
0
|
216
|
sub list_providers () { @PROVIDERS } |
|
138
|
|
|
|
|
199
|
|
|
138
|
|
|
|
|
379
|
|
31
|
34
|
|
|
34
|
0
|
66
|
sub list_experimental_providers () { @EXPERIMENTAL_PROVIDERS } |
|
34
|
|
|
|
|
54
|
|
|
34
|
|
|
|
|
106
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
## ... |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub load_experimental_providers { |
36
|
0
|
|
|
0
|
0
|
|
map Module::Runtime::use_package_optimistically( $_ ), list_experimental_providers() |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
1; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
__END__ |