Filename | C:/tmp64ng/perl/lib/PerlIO.pm |
Statements | Executed 11 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 0s | 0s | CORE:subst (opcode) | PerlIO::
1 | 1 | 1 | 0s | 0s | import | PerlIO::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package PerlIO; | ||||
2 | |||||
3 | 1 | 0s | our $VERSION = '1.09'; | ||
4 | |||||
5 | # Map layer name to package that defines it | ||||
6 | 1 | 0s | our %alias; | ||
7 | |||||
8 | sub import | ||||
9 | # spent 0s within PerlIO::import which was called:
# once (0s+0s) by ExtUtils::MakeMaker::BEGIN@1175 at line 1175 of ExtUtils/MakeMaker.pm | ||||
10 | 1 | 0s | my $class = shift; | ||
11 | 1 | 0s | while (@_) | ||
12 | { | ||||
13 | 1 | 0s | my $layer = shift; | ||
14 | 1 | 0s | if (exists $alias{$layer}) | ||
15 | { | ||||
16 | $layer = $alias{$layer} | ||||
17 | } | ||||
18 | else | ||||
19 | { | ||||
20 | 1 | 0s | $layer = "${class}::$layer"; | ||
21 | } | ||||
22 | 2 | 0s | 1 | 0s | eval { require $layer =~ s{::}{/}gr . '.pm' }; # spent 0s making 1 call to PerlIO::CORE:subst |
23 | 1 | 0s | warn $@ if $@; | ||
24 | } | ||||
25 | } | ||||
26 | |||||
27 | sub F_UTF8 () { 0x8000 } | ||||
28 | |||||
29 | 1 | 0s | 1; | ||
30 | __END__ | ||||
# spent 0s within PerlIO::CORE:subst which was called:
# once (0s+0s) by PerlIO::import at line 22 |