Filename | /Users/ether/perl5/perlbrew/perls/36.0/lib/5.36.0/darwin-2level/IO.pm |
Statements | Executed 11 statements in 1.60ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 22µs | 22µs | BEGIN@5 | IO::
1 | 1 | 1 | 6µs | 50µs | BEGIN@6 | IO::
1 | 1 | 1 | 6µs | 39µs | BEGIN@8 | IO::
1 | 1 | 1 | 5µs | 8µs | BEGIN@7 | 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 | 26µs | 1 | 22µs | # spent 22µs within IO::BEGIN@5 which was called:
# once (22µs+0s) by IO::Handle::BEGIN@268 at line 5 # spent 22µs making 1 call to IO::BEGIN@5 |
6 | 2 | 23µs | 2 | 94µs | # spent 50µs (6+44) within IO::BEGIN@6 which was called:
# once (6µs+44µs) by IO::Handle::BEGIN@268 at line 6 # spent 50µs making 1 call to IO::BEGIN@6
# spent 44µs making 1 call to Exporter::import |
7 | 2 | 22µs | 2 | 11µs | # spent 8µs (5+3) within IO::BEGIN@7 which was called:
# once (5µs+3µs) by IO::Handle::BEGIN@268 at line 7 # spent 8µs making 1 call to IO::BEGIN@7
# spent 3µs making 1 call to strict::import |
8 | 2 | 291µs | 2 | 72µs | # spent 39µs (6+33) within IO::BEGIN@8 which was called:
# once (6µs+33µs) by IO::Handle::BEGIN@268 at line 8 # spent 39µs making 1 call to IO::BEGIN@8
# spent 33µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 0s | our $VERSION = "1.50"; | ||
11 | 1 | 1.24ms | 1 | 1.23ms | XSLoader::load 'IO', $VERSION; # spent 1.23ms 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 | 5µs | 1; | ||
28 | |||||
29 | __END__ |