| Filename | /Users/ether/perl5/perlbrew/perls/36.0/lib/5.36.0/darwin-2level/File/Spec.pm |
| Statements | Executed 9 statements in 602µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 14µs | 16µs | File::Spec::BEGIN@3 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package File::Spec; | ||||
| 2 | |||||
| 3 | 2 | 108µs | 2 | 18µs | # spent 16µs (14+2) within File::Spec::BEGIN@3 which was called:
# once (14µs+2µs) by Pod::Usage::BEGIN@19 at line 3 # spent 16µs making 1 call to File::Spec::BEGIN@3
# spent 2µs making 1 call to strict::import |
| 4 | |||||
| 5 | 1 | 0s | our $VERSION = '3.84'; | ||
| 6 | 1 | 1µs | $VERSION =~ tr/_//d; | ||
| 7 | |||||
| 8 | 1 | 3µs | my %module = ( | ||
| 9 | MSWin32 => 'Win32', | ||||
| 10 | os2 => 'OS2', | ||||
| 11 | VMS => 'VMS', | ||||
| 12 | NetWare => 'Win32', # Yes, File::Spec::Win32 works on NetWare. | ||||
| 13 | symbian => 'Win32', # Yes, File::Spec::Win32 works on symbian. | ||||
| 14 | dos => 'OS2', # Yes, File::Spec::OS2 works on DJGPP. | ||||
| 15 | cygwin => 'Cygwin', | ||||
| 16 | amigaos => 'AmigaOS'); | ||||
| 17 | |||||
| 18 | |||||
| 19 | 1 | 2µs | my $module = $module{$^O} || 'Unix'; | ||
| 20 | |||||
| 21 | 1 | 470µs | require "File/Spec/$module.pm"; | ||
| 22 | 1 | 8µs | our @ISA = ("File::Spec::$module"); | ||
| 23 | |||||
| 24 | 1 | 10µs | 1; | ||
| 25 | |||||
| 26 | __END__ |