Filename | /usr/local/lib/perl5/5.24/mach/IO.pm |
Statements | Executed 11 statements in 1.07ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 40µs | 75µs | BEGIN@8 | IO::
1 | 1 | 1 | 37µs | 37µs | BEGIN@5 | IO::
1 | 1 | 1 | 32µs | 40µs | BEGIN@7 | IO::
1 | 1 | 1 | 21µs | 218µs | BEGIN@6 | 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 | 82µs | 1 | 37µs | # spent 37µs within IO::BEGIN@5 which was called:
# once (37µs+0s) by IO::Handle::BEGIN@269 at line 5 # spent 37µs making 1 call to IO::BEGIN@5 |
6 | 2 | 67µs | 2 | 416µs | # spent 218µs (21+197) within IO::BEGIN@6 which was called:
# once (21µs+197µs) by IO::Handle::BEGIN@269 at line 6 # spent 218µs making 1 call to IO::BEGIN@6
# spent 197µs making 1 call to Exporter::import |
7 | 2 | 72µs | 2 | 47µs | # spent 40µs (32+8) within IO::BEGIN@7 which was called:
# once (32µs+8µs) by IO::Handle::BEGIN@269 at line 7 # spent 40µs making 1 call to IO::BEGIN@7
# spent 8µs making 1 call to strict::import |
8 | 2 | 363µs | 2 | 110µs | # spent 75µs (40+35) within IO::BEGIN@8 which was called:
# once (40µs+35µs) by IO::Handle::BEGIN@269 at line 8 # spent 75µs making 1 call to IO::BEGIN@8
# spent 35µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 2µs | our $VERSION = "1.36_01"; | ||
11 | 1 | 465µs | 1 | 444µs | XSLoader::load 'IO', $VERSION; # spent 444µ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 | 15µs | 1; | ||
28 | |||||
29 | __END__ |