line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::Onion; |
2
|
1
|
|
|
1
|
|
80000
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
27
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
172
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = "0.03"; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
BEGIN { |
8
|
|
|
|
|
|
|
push @INC, sub { |
9
|
1
|
|
|
|
|
314
|
my ($coderef, $file) = @_; |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
|
|
6
|
(my $onion = $file) =~ s/\.pm$/.🧅/; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
4
|
for my $dir (@INC) { |
14
|
1
|
|
|
|
|
2
|
my $filepath = $dir . '/' . $onion; |
15
|
|
|
|
|
|
|
|
16
|
1
|
50
|
33
|
|
|
31
|
next if ! -e $filepath || -d _ || -b _; |
|
|
|
33
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
1
|
50
|
|
|
|
37
|
if (open my $fh, '<', $filepath) { |
19
|
1
|
|
|
|
|
3
|
$INC{$file} = $filepath; |
20
|
1
|
|
|
|
|
292
|
return $fh; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
} |
23
|
0
|
|
|
|
|
|
return; |
24
|
|
|
|
|
|
|
} |
25
|
1
|
|
|
1
|
|
31
|
}; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
__END__ |