Subject: | Digest::Perl::MD5 fallback not working |
Hi,
The fallback to the PurePerl module Digest::Perl::MD5 when the C
library cannot be loaded isn't working (not for the OO interface at
least. You get the error:
Undefined subroutine &Digest::base::new
After testing Digest::Perl::MD5 is added to @ISA correctly. But it
appears when creating the object only the first @ISA value is checked
and the full tree not walked. I've no idea why this is, or whether it
represents a bug elsewhere, but swapping the:
push(@ISA, "Digest::Perl::MD5"); # make OO interface work
for
unshift(@ISA, "Digest::Perl::MD5"); # make OO interface work
on line 33 fixes it.
Lyle