| Filename | /home/ss5/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/x86_64-linux-thread-multi/File/Spec.pm |
| Statements | Executed 11 statements in 978µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 63µs | 79µs | File::Spec::BEGIN@3 |
| 1 | 1 | 1 | 26µs | 175µs | File::Spec::BEGIN@4 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package File::Spec; | ||||
| 2 | |||||
| 3 | 2 | 114µs | 2 | 96µs | # spent 79µs (63+16) within File::Spec::BEGIN@3 which was called:
# once (63µs+16µs) by IO::File::BEGIN@134 at line 3 # spent 79µs making 1 call to File::Spec::BEGIN@3
# spent 16µs making 1 call to strict::import |
| 4 | 2 | 384µs | 2 | 324µs | # spent 175µs (26+149) within File::Spec::BEGIN@4 which was called:
# once (26µs+149µs) by IO::File::BEGIN@134 at line 4 # spent 175µs making 1 call to File::Spec::BEGIN@4
# spent 149µs making 1 call to vars::import |
| 5 | |||||
| 6 | 1 | 3µs | $VERSION = '3.33'; | ||
| 7 | 1 | 62µs | $VERSION = eval $VERSION; # spent 8µs executing statements in string eval | ||
| 8 | |||||
| 9 | 1 | 22µs | my %module = (MacOS => 'Mac', | ||
| 10 | MSWin32 => 'Win32', | ||||
| 11 | os2 => 'OS2', | ||||
| 12 | VMS => 'VMS', | ||||
| 13 | epoc => 'Epoc', | ||||
| 14 | NetWare => 'Win32', # Yes, File::Spec::Win32 works on NetWare. | ||||
| 15 | symbian => 'Win32', # Yes, File::Spec::Win32 works on symbian. | ||||
| 16 | dos => 'OS2', # Yes, File::Spec::OS2 works on DJGPP. | ||||
| 17 | cygwin => 'Cygwin'); | ||||
| 18 | |||||
| 19 | |||||
| 20 | 1 | 6µs | my $module = $module{$^O} || 'Unix'; | ||
| 21 | |||||
| 22 | 1 | 300µs | require "File/Spec/$module.pm"; | ||
| 23 | 1 | 39µs | @ISA = ("File::Spec::$module"); | ||
| 24 | |||||
| 25 | 1 | 48µs | 1; | ||
| 26 | |||||
| 27 | __END__ |