| Filename | C:/tmp64ng/perl/lib/ExtUtils/Liblist.pm |
| Statements | Executed 10 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 0s | 0s | ExtUtils::Liblist::BEGIN@3 |
| 1 | 1 | 1 | 0s | 0s | ExtUtils::Liblist::BEGIN@7 |
| 3 | 1 | 1 | 0s | 0s | ExtUtils::Liblist::ext |
| 0 | 0 | 0 | 0s | 0s | ExtUtils::Liblist::lsdir |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package ExtUtils::Liblist; | ||||
| 2 | |||||
| 3 | 2 | 0s | 2 | 0s | # spent 0s within ExtUtils::Liblist::BEGIN@3 which was called:
# once (0s+0s) by main::BEGIN@1 at line 3 # spent 0s making 1 call to ExtUtils::Liblist::BEGIN@3
# spent 0s making 1 call to strict::import |
| 4 | |||||
| 5 | 1 | 0s | our $VERSION = '7.04'; | ||
| 6 | |||||
| 7 | 2 | 0s | 1 | 0s | # spent 0s within ExtUtils::Liblist::BEGIN@7 which was called:
# once (0s+0s) by main::BEGIN@1 at line 7 # spent 0s making 1 call to ExtUtils::Liblist::BEGIN@7 |
| 8 | 1 | 0s | require ExtUtils::Liblist::Kid; | ||
| 9 | 1 | 0s | our @ISA = qw(ExtUtils::Liblist::Kid File::Spec); | ||
| 10 | |||||
| 11 | # Backwards compatibility with old interface. | ||||
| 12 | # spent 0s within ExtUtils::Liblist::ext which was called 3 times, avg 0s/call:
# 3 times (0s+0s) by ExtUtils::MM_Unix::extliblist at line 1015 of ExtUtils/MM_Unix.pm, avg 0s/call | ||||
| 13 | 3 | 0s | 3 | 46.8ms | goto &ExtUtils::Liblist::Kid::ext; # spent 46.8ms making 3 calls to ExtUtils::Liblist::Kid::ext, avg 15.6ms/call |
| 14 | } | ||||
| 15 | |||||
| 16 | sub lsdir { | ||||
| 17 | shift; | ||||
| 18 | my $rex = qr/$_[1]/; | ||||
| 19 | opendir DIR, $_[0]; | ||||
| 20 | my @out = grep /$rex/, readdir DIR; | ||||
| 21 | closedir DIR; | ||||
| 22 | return @out; | ||||
| 23 | } | ||||
| 24 | |||||
| 25 | __END__ |