Subject: | Problem with arithmetic operation with 1.80 |
Hello,
The following script dies.
#/usr/bin/perl
use bignum;
sub hexToChar {
my ($h) = @_;
length($h) % 2 == 0 || die "ha"; # <-- die here
}
hexToChar('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b'); # length is 40
It doesn't die if I remove "use bignum;". POD of bignum says it loads
Math::BigInt.. So I report here. I downgraded Math::BigInt to 1.79 and
this problem didn't occur.
Sorry for my poor English :-)
G.Y.Park in South Korea
P.S.
I found this problem when I was trying to install
Num::OpenID::JanRain::Consumer module. After I downgrade BigInt, this
problem vanished but a lot of new errors occurred in test process.
These new errors are related to "Math::BigInt::bcmp" operation, so I
doubt there is another problem in BigInt 1.79.. I'll report it again
if I can find the exact reason.