Filename | /usr/lib/x86_64-linux-gnu/perl/5.28/File/Spec.pm |
Statements | Executed 9 statements in 208µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 10µs | 12µs | BEGIN@3 | File::Spec::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package File::Spec; | ||||
2 | |||||
3 | 2 | 112µs | 2 | 14µs | # spent 12µs (10+2) within File::Spec::BEGIN@3 which was called:
# once (10µs+2µs) by Path::Tiny::BEGIN@13 at line 3 # spent 12µ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 | 4µ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 | 71µs | require "File/Spec/$module.pm"; | ||
21 | 1 | 7µs | our @ISA = ("File::Spec::$module"); | ||
22 | |||||
23 | 1 | 11µs | 1; | ||
24 | |||||
25 | __END__ |