line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
## no critic (Moose::RequireMakeImmutable) |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package App::GHPT::Wrapper::OurMoose; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
13425
|
use App::GHPT::Wrapper::Ourperl; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '1.001000'; |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
5941
|
use Import::Into; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
41
|
|
10
|
1
|
|
|
1
|
|
19
|
use Moose (); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
28
|
|
11
|
1
|
|
|
1
|
|
9
|
use Moose::Exporter; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
21
|
|
12
|
1
|
|
|
1
|
|
82
|
use MooseX::SemiAffordanceAccessor (); |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
24
|
|
13
|
1
|
|
|
1
|
|
6
|
use MooseX::StrictConstructor (); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
14
|
1
|
|
|
1
|
|
6
|
use namespace::autoclean (); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
22
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# We do this a second time to re-establish our custom warnings |
17
|
1
|
|
|
1
|
|
28
|
use App::GHPT::Wrapper::Ourperl; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
my ($import) = Moose::Exporter->setup_import_methods( |
20
|
|
|
|
|
|
|
install => [ 'unimport', 'init_meta' ], |
21
|
|
|
|
|
|
|
also => ['Moose'], |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
|
24
|
8
|
|
|
8
|
|
1514616
|
sub import ( $class, @ ) { |
|
8
|
|
|
|
|
38
|
|
|
8
|
|
|
|
|
24
|
|
25
|
8
|
|
|
|
|
50
|
my $for_class = caller(); |
26
|
|
|
|
|
|
|
|
27
|
8
|
|
|
|
|
234
|
$import->( undef, { into => $for_class } ); |
28
|
8
|
|
|
|
|
60383
|
$class->import_extras( $for_class, 2 ); |
29
|
|
|
|
|
|
|
|
30
|
8
|
|
|
|
|
1152
|
return; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
8
|
|
|
8
|
0
|
25
|
sub import_extras ( $, $for_class, $level ) { |
|
8
|
|
|
|
|
22
|
|
|
8
|
|
|
|
|
18
|
|
|
8
|
|
|
|
|
17
|
|
34
|
8
|
|
|
|
|
91
|
MooseX::SemiAffordanceAccessor->import( { into => $for_class } ); |
35
|
8
|
|
|
|
|
30408
|
MooseX::StrictConstructor->import( { into => $for_class } ); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
# note that we need to use a level here rather than a classname |
38
|
|
|
|
|
|
|
# so that importing autodie works |
39
|
8
|
|
|
|
|
26276
|
App::GHPT::Wrapper::Ourperl->import::into($level); |
40
|
8
|
|
|
|
|
48416
|
namespace::autoclean->import::into($level); |
41
|
|
|
|
|
|
|
|
42
|
8
|
|
|
|
|
1423
|
return; |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |