line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#line 1 |
2
|
|
|
|
|
|
|
package PerlIO; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
our $VERSION = '1.07'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# Map layer name to package that defines it |
7
|
|
|
|
|
|
|
our %alias; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub import |
10
|
3
|
|
|
3
|
|
342
|
{ |
11
|
3
|
|
|
|
|
14
|
my $class = shift; |
12
|
|
|
|
|
|
|
while (@_) |
13
|
3
|
|
|
|
|
86
|
{ |
14
|
3
|
50
|
|
|
|
15
|
my $layer = shift; |
15
|
|
|
|
|
|
|
if (exists $alias{$layer}) |
16
|
0
|
|
|
|
|
0
|
{ |
17
|
|
|
|
|
|
|
$layer = $alias{$layer} |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
else |
20
|
3
|
|
|
|
|
12
|
{ |
21
|
|
|
|
|
|
|
$layer = "${class}::$layer"; |
22
|
3
|
|
|
|
|
174
|
} |
23
|
3
|
50
|
|
|
|
2072
|
eval "require $layer"; |
24
|
|
|
|
|
|
|
warn $@ if $@; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub F_UTF8 () { 0x8000 } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
__END__ |