line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
## no critic (Moose::RequireMakeImmutable) |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package App::GHPT::Wrapper::OurMoose; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
13255
|
use App::GHPT::Wrapper::Ourperl; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '1.000012'; |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
5829
|
use Import::Into; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
62
|
|
10
|
1
|
|
|
1
|
|
17
|
use Moose (); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
38
|
|
11
|
1
|
|
|
1
|
|
6
|
use Moose::Exporter; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
12
|
1
|
|
|
1
|
|
38
|
use MooseX::SemiAffordanceAccessor (); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
13
|
1
|
|
|
1
|
|
28
|
use MooseX::StrictConstructor (); |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
23
|
|
14
|
1
|
|
|
1
|
|
6
|
use namespace::autoclean (); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
33
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# We do this a second time to re-establish our custom warnings |
17
|
1
|
|
|
1
|
|
6
|
use App::GHPT::Wrapper::Ourperl; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
my ($import) = Moose::Exporter->setup_import_methods( |
20
|
|
|
|
|
|
|
install => [ 'unimport', 'init_meta' ], |
21
|
|
|
|
|
|
|
also => ['Moose'], |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
|
24
|
8
|
|
|
8
|
|
1460604
|
sub import ( $class, @ ) { |
|
8
|
|
|
|
|
26
|
|
|
8
|
|
|
|
|
20
|
|
25
|
8
|
|
|
|
|
39
|
my $for_class = caller(); |
26
|
|
|
|
|
|
|
|
27
|
8
|
|
|
|
|
216
|
$import->( undef, { into => $for_class } ); |
28
|
8
|
|
|
|
|
64454
|
$class->import_extras( $for_class, 2 ); |
29
|
|
|
|
|
|
|
|
30
|
8
|
|
|
|
|
1106
|
return; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
8
|
|
|
8
|
0
|
23
|
sub import_extras ( $, $for_class, $level ) { |
|
8
|
|
|
|
|
19
|
|
|
8
|
|
|
|
|
20
|
|
|
8
|
|
|
|
|
17
|
|
34
|
8
|
|
|
|
|
101
|
MooseX::SemiAffordanceAccessor->import( { into => $for_class } ); |
35
|
8
|
|
|
|
|
30608
|
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
|
|
|
|
|
26266
|
App::GHPT::Wrapper::Ourperl->import::into($level); |
40
|
8
|
|
|
|
|
49096
|
namespace::autoclean->import::into($level); |
41
|
|
|
|
|
|
|
|
42
|
8
|
|
|
|
|
1373
|
return; |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |