Filename | /Users/ether/perl5/perlbrew/perls/36.0/lib/5.36.0/darwin-2level/File/Spec.pm |
Statements | Executed 9 statements in 267µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 12µs | 13µs | BEGIN@3 | File::Spec::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package File::Spec; | ||||
2 | |||||
3 | 2 | 95µs | 2 | 14µs | # spent 13µs (12+1000ns) within File::Spec::BEGIN@3 which was called:
# once (12µs+1000ns) by Pod::Usage::BEGIN@19 at line 3 # spent 13µs making 1 call to File::Spec::BEGIN@3
# spent 1µ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 | 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 | |||||
19 | 1 | 1µs | my $module = $module{$^O} || 'Unix'; | ||
20 | |||||
21 | 1 | 139µs | require "File/Spec/$module.pm"; | ||
22 | 1 | 11µs | our @ISA = ("File::Spec::$module"); | ||
23 | |||||
24 | 1 | 16µs | 1; | ||
25 | |||||
26 | __END__ |