line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Squirrel::Role; |
2
|
1
|
|
|
1
|
|
494
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
21
|
|
3
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
3
|
use base qw(Squirrel); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
298
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub _choose_backend { |
8
|
1
|
50
|
|
1
|
|
2
|
if ( $INC{"Moose/Role.pm"} ) { |
9
|
|
|
|
|
|
|
return { |
10
|
0
|
|
|
|
|
0
|
backend => 'Moose::Role', |
11
|
|
|
|
|
|
|
import => \&Moose::Role::import, |
12
|
|
|
|
|
|
|
unimport => \&Moose::Role::unimport, |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
else { |
16
|
1
|
|
|
|
|
308
|
require Mouse::Role; |
17
|
|
|
|
|
|
|
return { |
18
|
1
|
|
|
|
|
12
|
backend => 'Mouse::Role', |
19
|
|
|
|
|
|
|
import => \&Mouse::Role::import, |
20
|
|
|
|
|
|
|
unimport => \&Mouse::Role::unimport, |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |