| Filename | /usr/lib/perl5/File/Spec.pm | 
| Statements | Executed 13 statements in 479µs | 
| Calls | P | F | Exclusive Time  | 
        Inclusive Time  | 
        Subroutine | 
|---|---|---|---|---|---|
| 1 | 1 | 1 | 32µs | 38µs | File::Spec::BEGIN@3 | 
| 1 | 1 | 1 | 14µs | 85µs | File::Spec::BEGIN@4 | 
| Line | State ments  | 
      Time on line  | 
      Calls | Time in subs  | 
      Code | 
|---|---|---|---|---|---|
| 1 | package File::Spec; | ||||
| 2 | |||||
| 3 | 3 | 42µs | 2 | 44µs | # spent 38µs (32+6) within File::Spec::BEGIN@3 which was called:
#    once (32µs+6µs) by charnames::BEGIN@4 at line 3 # spent    38µs making 1 call to File::Spec::BEGIN@3
# spent     6µs making 1 call to strict::import  | 
| 4 | 3 | 130µs | 2 | 156µs | # spent 85µs (14+71) within File::Spec::BEGIN@4 which was called:
#    once (14µs+71µs) by charnames::BEGIN@4 at line 4 # spent    85µs making 1 call to File::Spec::BEGIN@4
# spent    71µs making 1 call to vars::import  | 
| 5 | |||||
| 6 | 1 | 1µs | $VERSION = '3.2701'; | ||
| 7 | 1 | 152µs | $VERSION = eval $VERSION; # spent     5µs executing statements in string eval  | ||
| 8 | |||||
| 9 | 1 | 9µs | my %module = (MacOS => 'Mac', | ||
| 10 | MSWin32 => 'Win32', | ||||
| 11 | os2 => 'OS2', | ||||
| 12 | VMS => 'VMS', | ||||
| 13 | epoc => 'Epoc', | ||||
| 14 | NetWare => 'Win32', # Yes, File::Spec::Win32 works on NetWare. | ||||
| 15 | symbian => 'Win32', # Yes, File::Spec::Win32 works on symbian. | ||||
| 16 | dos => 'OS2', # Yes, File::Spec::OS2 works on DJGPP. | ||||
| 17 | cygwin => 'Cygwin'); | ||||
| 18 | |||||
| 19 | |||||
| 20 | 1 | 3µs | my $module = $module{$^O} || 'Unix'; | ||
| 21 | |||||
| 22 | 1 | 111µs | require "File/Spec/$module.pm"; | ||
| 23 | 1 | 17µs | @ISA = ("File::Spec::$module"); | ||
| 24 | |||||
| 25 | 1 | 14µs | 1; | ||
| 26 | |||||
| 27 | __END__ |