Filename | /usr/local/lib/perl5/5.24/mach/IO.pm |
Statements | Executed 11 statements in 1.06ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 36µs | 44µs | BEGIN@7 | IO::
1 | 1 | 1 | 36µs | 36µs | BEGIN@5 | IO::
1 | 1 | 1 | 22µs | 216µs | BEGIN@6 | IO::
1 | 1 | 1 | 18µs | 60µs | BEGIN@8 | IO::
0 | 0 | 0 | 0s | 0s | import | IO::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # | ||||
2 | |||||
3 | package IO; | ||||
4 | |||||
5 | 2 | 67µs | 1 | 36µs | # spent 36µs within IO::BEGIN@5 which was called:
# once (36µs+0s) by IO::Handle::BEGIN@269 at line 5 # spent 36µs making 1 call to IO::BEGIN@5 |
6 | 2 | 59µs | 2 | 409µs | # spent 216µs (22+193) within IO::BEGIN@6 which was called:
# once (22µs+193µs) by IO::Handle::BEGIN@269 at line 6 # spent 216µs making 1 call to IO::BEGIN@6
# spent 193µs making 1 call to Exporter::import |
7 | 2 | 64µs | 2 | 52µs | # spent 44µs (36+8) within IO::BEGIN@7 which was called:
# once (36µs+8µs) by IO::Handle::BEGIN@269 at line 7 # spent 44µs making 1 call to IO::BEGIN@7
# spent 8µs making 1 call to strict::import |
8 | 2 | 369µs | 2 | 102µs | # spent 60µs (18+42) within IO::BEGIN@8 which was called:
# once (18µs+42µs) by IO::Handle::BEGIN@269 at line 8 # spent 60µs making 1 call to IO::BEGIN@8
# spent 42µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 2µs | our $VERSION = "1.36_01"; | ||
11 | 1 | 489µs | 1 | 471µs | XSLoader::load 'IO', $VERSION; # spent 471µs making 1 call to XSLoader::load |
12 | |||||
13 | sub import { | ||||
14 | shift; | ||||
15 | |||||
16 | warnings::warnif('deprecated', qq{Parameterless "use IO" deprecated}) | ||||
17 | if @_ == 0 ; | ||||
18 | |||||
19 | my @l = @_ ? @_ : qw(Handle Seekable File Pipe Socket Dir); | ||||
20 | |||||
21 | local @INC = @INC; | ||||
22 | pop @INC if $INC[-1] eq '.'; | ||||
23 | eval join("", map { "require IO::" . (/(\w+)/)[0] . ";\n" } @l) | ||||
24 | or croak $@; | ||||
25 | } | ||||
26 | |||||
27 | 1 | 10µs | 1; | ||
28 | |||||
29 | __END__ |