Skip Menu |

This queue is for tickets about the Digest-MD5 CPAN distribution.

Report information
The Basics
Id: 66634
Status: resolved
Priority: 0/
Queue: Digest-MD5

People
Owner: Nobody in particular
Requestors: COSMICNET [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.51
Fixed in: (no value)



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