| Filename | /usr/lib/x86_64-linux-gnu/perl/5.28/File/Spec.pm |
| Statements | Executed 9 statements in 195µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 15µs | 17µs | File::Spec::BEGIN@3 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package File::Spec; | ||||
| 2 | |||||
| 3 | 2 | 102µs | 2 | 19µs | # spent 17µs (15+2) within File::Spec::BEGIN@3 which was called:
# once (15µs+2µs) by Path::Tiny::BEGIN@13 at line 3 # spent 17µs making 1 call to File::Spec::BEGIN@3
# spent 2µs making 1 call to strict::import |
| 4 | |||||
| 5 | 1 | 400ns | our $VERSION = '3.74'; | ||
| 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 | 1 | 1µs | my $module = $module{$^O} || 'Unix'; | ||
| 19 | |||||
| 20 | 1 | 70µs | require "File/Spec/$module.pm"; | ||
| 21 | 1 | 8µs | our @ISA = ("File::Spec::$module"); | ||
| 22 | |||||
| 23 | 1 | 10µs | 1; | ||
| 24 | |||||
| 25 | __END__ |