| Filename | /usr/lib/x86_64-linux-gnu/perl/5.20/Digest/MD5.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 15µs | 22µs | Digest::MD5::BEGIN@3 |
| 1 | 1 | 1 | 13µs | 62µs | Digest::MD5::BEGIN@4 |
| 0 | 0 | 0 | 0s | 0s | Digest::MD5::__ANON__[:18] |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Digest::MD5; | ||||
| 2 | |||||
| 3 | 2 | 29µs | # spent 22µs (15+7) within Digest::MD5::BEGIN@3 which was called:
# once (15µs+7µs) by C4::Auth::BEGIN@22 at line 3 # spent 22µs making 1 call to Digest::MD5::BEGIN@3
# spent 7µs making 1 call to strict::import | ||
| 4 | 2 | 110µs | # spent 62µs (13+49) within Digest::MD5::BEGIN@4 which was called:
# once (13µs+49µs) by C4::Auth::BEGIN@22 at line 4 # spent 62µs making 1 call to Digest::MD5::BEGIN@4
# spent 49µs making 1 call to vars::import | ||
| 5 | |||||
| 6 | $VERSION = '2.53'; | ||||
| 7 | |||||
| 8 | require Exporter; | ||||
| 9 | *import = \&Exporter::import; | ||||
| 10 | @EXPORT_OK = qw(md5 md5_hex md5_base64); | ||||
| 11 | |||||
| 12 | eval { | ||||
| 13 | require Digest::base; | ||||
| 14 | push(@ISA, 'Digest::base'); | ||||
| 15 | }; | ||||
| 16 | if ($@) { | ||||
| 17 | my $err = $@; | ||||
| 18 | *add_bits = sub { die $err }; | ||||
| 19 | } | ||||
| 20 | |||||
| 21 | |||||
| 22 | eval { | ||||
| 23 | require XSLoader; | ||||
| 24 | 1 | 317µs | XSLoader::load('Digest::MD5', $VERSION); # spent 317µs making 1 call to XSLoader::load | ||
| 25 | }; | ||||
| 26 | if ($@) { | ||||
| 27 | my $olderr = $@; | ||||
| 28 | eval { | ||||
| 29 | # Try to load the pure perl version | ||||
| 30 | require Digest::Perl::MD5; | ||||
| 31 | |||||
| 32 | Digest::Perl::MD5->import(qw(md5 md5_hex md5_base64)); | ||||
| 33 | unshift(@ISA, "Digest::Perl::MD5"); # make OO interface work | ||||
| 34 | }; | ||||
| 35 | if ($@) { | ||||
| 36 | # restore the original error | ||||
| 37 | die $olderr; | ||||
| 38 | } | ||||
| 39 | } | ||||
| 40 | else { | ||||
| 41 | *reset = \&new; | ||||
| 42 | } | ||||
| 43 | |||||
| 44 | 1; | ||||
| 45 | __END__ |