Amanda::BigIntCompat -- make Math::BigInt
behave consistently
use Amanda::BigIntCompat; use Math::BigInt;
my $bn = Math::BigInt->new(1); print "okay\n" if $bn eq "1";
This module will modify Math::BigInt
to hide inconsistent behaviors across
Perl versions. Specifically, it handles the following.
Older versions of Math::BigInt
, like the one shipped with Perl 5.6.1,
stringify positive numbers with a leading +
(e.g. +1
instead of 1
).
This page was automatically generated Tue Nov 19 20:05:35 2013 from the Amanda source tree, and documents the most recent development version of Amanda. For documentation specific to the version of Amanda on your system, use the 'perldoc' command.