line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Curio; |
2
|
|
|
|
|
|
|
our $VERSION = '0.09'; |
3
|
|
|
|
|
|
|
|
4
|
10
|
|
|
10
|
|
2085941
|
use Curio::Declare qw(); |
|
10
|
|
|
|
|
30
|
|
|
10
|
|
|
|
|
255
|
|
5
|
10
|
|
|
10
|
|
4213
|
use Curio::Role qw(); |
|
10
|
|
|
|
|
36
|
|
|
10
|
|
|
|
|
309
|
|
6
|
10
|
|
|
10
|
|
4832
|
use Import::Into; |
|
10
|
|
|
|
|
4858
|
|
|
10
|
|
|
|
|
312
|
|
7
|
10
|
|
|
10
|
|
74
|
use Moo qw(); |
|
10
|
|
|
|
|
19
|
|
|
10
|
|
|
|
|
163
|
|
8
|
10
|
|
|
10
|
|
51
|
use Moo::Role qw(); |
|
10
|
|
|
|
|
22
|
|
|
10
|
|
|
|
|
191
|
|
9
|
|
|
|
|
|
|
|
10
|
10
|
|
|
10
|
|
44
|
use strictures 2; |
|
10
|
|
|
|
|
81
|
|
|
10
|
|
|
|
|
377
|
|
11
|
10
|
|
|
10
|
|
1647
|
use namespace::clean; |
|
10
|
|
|
|
|
27
|
|
|
10
|
|
|
|
|
56
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub import { |
14
|
35
|
|
|
35
|
|
21388
|
my ($class, %args) = @_; |
15
|
|
|
|
|
|
|
|
16
|
35
|
|
|
|
|
90
|
my $target = caller; |
17
|
|
|
|
|
|
|
|
18
|
35
|
|
|
|
|
217
|
Moo->import::into( 1 ); |
19
|
35
|
|
|
|
|
15315
|
Curio::Declare->import::into( 1 ); |
20
|
35
|
|
|
|
|
421
|
namespace::clean->import::into( 1 ); |
21
|
|
|
|
|
|
|
|
22
|
35
|
|
|
|
|
17478
|
my $role = 'Curio::Role'; |
23
|
35
|
100
|
|
|
|
172
|
$role = $args{role} if defined $args{role}; |
24
|
35
|
100
|
|
|
|
121
|
$role = "Curio::Role$role" if $role =~ m{^::}; |
25
|
|
|
|
|
|
|
|
26
|
35
|
|
|
|
|
198
|
Moo::Role->apply_roles_to_package( |
27
|
|
|
|
|
|
|
$target, |
28
|
|
|
|
|
|
|
$role, |
29
|
|
|
|
|
|
|
); |
30
|
|
|
|
|
|
|
|
31
|
35
|
|
|
|
|
26870
|
$target->initialize(); |
32
|
|
|
|
|
|
|
|
33
|
35
|
|
|
|
|
3574
|
return; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
__END__ |