Filename | /home/hejohns/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/File/Spec.pm |
Statements | Executed 9 statements in 144µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 8µs | 9µs | BEGIN@3 | File::Spec::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package File::Spec; | ||||
2 | |||||
3 | 2 | 78µs | 2 | 11µs | # spent 9µs (8+1) within File::Spec::BEGIN@3 which was called:
# once (8µs+1µs) by main::BEGIN@16 at line 3 # spent 9µs making 1 call to File::Spec::BEGIN@3
# spent 2µs making 1 call to strict::import |
4 | |||||
5 | 1 | 300ns | our $VERSION = '3.75'; | ||
6 | 1 | 600ns | $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 | 800ns | my $module = $module{$^O} || 'Unix'; | ||
20 | |||||
21 | 1 | 45µs | require "File/Spec/$module.pm"; | ||
22 | 1 | 8µs | our @ISA = ("File::Spec::$module"); | ||
23 | |||||
24 | 1 | 8µs | 1; | ||
25 | |||||
26 | __END__ |