| Filename | /usr/libdata/perl5/amd64-openbsd/IO.pm |
| Statements | Executed 11 statements in 706µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 11µs | 11µs | IO::BEGIN@5 |
| 1 | 1 | 1 | 10µs | 53µs | IO::BEGIN@6 |
| 1 | 1 | 1 | 10µs | 13µs | IO::BEGIN@7 |
| 1 | 1 | 1 | 9µs | 19µs | IO::BEGIN@8 |
| 0 | 0 | 0 | 0s | 0s | IO::import |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | # | ||||
| 2 | |||||
| 3 | package IO; | ||||
| 4 | |||||
| 5 | 2 | 32µs | 1 | 11µs | # spent 11µs within IO::BEGIN@5 which was called:
# once (11µs+0s) by IO::Handle::BEGIN@269 at line 5 # spent 11µs making 1 call to IO::BEGIN@5 |
| 6 | 2 | 25µs | 2 | 95µs | # spent 53µs (10+43) within IO::BEGIN@6 which was called:
# once (10µs+43µs) by IO::Handle::BEGIN@269 at line 6 # spent 53µs making 1 call to IO::BEGIN@6
# spent 43µs making 1 call to Exporter::import |
| 7 | 2 | 24µs | 2 | 16µs | # spent 13µs (10+3) within IO::BEGIN@7 which was called:
# once (10µs+3µs) by IO::Handle::BEGIN@269 at line 7 # spent 13µs making 1 call to IO::BEGIN@7
# spent 3µs making 1 call to strict::import |
| 8 | 2 | 171µs | 2 | 30µs | # spent 19µs (9+10) within IO::BEGIN@8 which was called:
# once (9µs+10µs) by IO::Handle::BEGIN@269 at line 8 # spent 19µs making 1 call to IO::BEGIN@8
# spent 10µs making 1 call to warnings::import |
| 9 | |||||
| 10 | 1 | 900ns | our $VERSION = "1.36_01"; | ||
| 11 | 1 | 446µs | 1 | 434µs | XSLoader::load 'IO', $VERSION; # spent 434µ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 | 6µs | 1; | ||
| 28 | |||||
| 29 | __END__ |