line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package methods; |
2
|
5
|
|
|
5
|
|
94751
|
use 5.008; |
|
5
|
|
|
|
|
18
|
|
|
5
|
|
|
|
|
257
|
|
3
|
|
|
|
|
|
|
our $VERSION = '0.12'; |
4
|
|
|
|
|
|
|
|
5
|
5
|
|
|
5
|
|
3869
|
use true; |
|
5
|
|
|
|
|
62765
|
|
|
5
|
|
|
|
|
67
|
|
6
|
5
|
|
|
5
|
|
9436
|
use namespace::sweep; |
|
5
|
|
|
|
|
332627
|
|
|
5
|
|
|
|
|
33
|
|
7
|
5
|
|
|
5
|
|
5851
|
use Method::Signatures::Simple; |
|
5
|
|
|
|
|
54750
|
|
|
5
|
|
|
|
|
43
|
|
8
|
|
|
|
|
|
|
our @ISA = 'Method::Signatures::Simple'; |
9
|
|
|
|
|
|
|
|
10
|
5
|
|
|
5
|
|
4005
|
method import { |
|
8
|
|
|
8
|
|
346
|
|
|
8
|
|
|
|
|
12
|
|
11
|
8
|
|
|
|
|
12
|
my $want_invoker; |
12
|
8
|
100
|
100
|
|
|
54
|
if (@_ and $_[0] eq '-invoker') { |
13
|
1
|
|
|
|
|
3
|
$want_invoker = shift; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
8
|
|
|
|
|
51
|
true->import; |
17
|
8
|
|
|
|
|
5634
|
namespace::sweep->import( -cleanee => scalar(caller) ); |
18
|
8
|
|
|
|
|
313
|
Method::Signatures::Simple->import( @_, into => scalar(caller) ); |
19
|
|
|
|
|
|
|
|
20
|
8
|
100
|
|
|
|
2831
|
if ($want_invoker) { |
21
|
1
|
|
|
|
|
899
|
require invoker; |
22
|
1
|
|
|
|
|
1186
|
unshift @_, 'invoker'; |
23
|
1
|
|
|
|
|
15
|
goto &invoker::import; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |