summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2018-10-12 08:04:22 -0400
committerJames E Keenan <jkeenan@cpan.org>2018-10-12 08:04:22 -0400
commit405fd6516c5ab73dfaab6dc3295a47b91545f65d (patch)
treee32ea52fbd58b68fddbf575a90583a5d0258aa78 /cpan
parent8508806268d1abe6c533393333ad151e12adfc2d (diff)
downloadperl-405fd6516c5ab73dfaab6dc3295a47b91545f65d.tar.gz
Sync bignum with CPAN version 0.51
Diffstat (limited to 'cpan')
-rw-r--r--cpan/bignum/lib/Math/BigFloat/Trace.pm2
-rw-r--r--cpan/bignum/lib/Math/BigInt/Trace.pm2
-rw-r--r--cpan/bignum/lib/bigint.pm2
-rw-r--r--cpan/bignum/lib/bignum.pm2
-rw-r--r--cpan/bignum/lib/bigrat.pm2
-rw-r--r--cpan/bignum/t/option_l.t10
6 files changed, 10 insertions, 10 deletions
diff --git a/cpan/bignum/lib/Math/BigFloat/Trace.pm b/cpan/bignum/lib/Math/BigFloat/Trace.pm
index 5c2525d732..2fc069370a 100644
--- a/cpan/bignum/lib/Math/BigFloat/Trace.pm
+++ b/cpan/bignum/lib/Math/BigFloat/Trace.pm
@@ -13,7 +13,7 @@ our ($accuracy, $precision, $round_mode, $div_scale);
our @ISA = qw(Exporter Math::BigFloat);
-our $VERSION = '0.50';
+our $VERSION = '0.51';
use overload; # inherit overload from Math::BigFloat
diff --git a/cpan/bignum/lib/Math/BigInt/Trace.pm b/cpan/bignum/lib/Math/BigInt/Trace.pm
index 500e1282e1..5517bedad9 100644
--- a/cpan/bignum/lib/Math/BigInt/Trace.pm
+++ b/cpan/bignum/lib/Math/BigInt/Trace.pm
@@ -13,7 +13,7 @@ our ($accuracy, $precision, $round_mode, $div_scale);
our @ISA = qw(Exporter Math::BigInt);
-our $VERSION = '0.50';
+our $VERSION = '0.51';
use overload; # inherit overload from Math::BigInt
diff --git a/cpan/bignum/lib/bigint.pm b/cpan/bignum/lib/bigint.pm
index b5f1fae563..8d7048b592 100644
--- a/cpan/bignum/lib/bigint.pm
+++ b/cpan/bignum/lib/bigint.pm
@@ -4,7 +4,7 @@ use 5.010;
use strict;
use warnings;
-our $VERSION = '0.50';
+our $VERSION = '0.51';
use Exporter;
our @ISA = qw( Exporter );
diff --git a/cpan/bignum/lib/bignum.pm b/cpan/bignum/lib/bignum.pm
index 89958c973b..55300c8273 100644
--- a/cpan/bignum/lib/bignum.pm
+++ b/cpan/bignum/lib/bignum.pm
@@ -4,7 +4,7 @@ use 5.010;
use strict;
use warnings;
-our $VERSION = '0.50';
+our $VERSION = '0.51';
use Exporter;
our @ISA = qw( bigint );
diff --git a/cpan/bignum/lib/bigrat.pm b/cpan/bignum/lib/bigrat.pm
index ec9e72bde7..0a981471b2 100644
--- a/cpan/bignum/lib/bigrat.pm
+++ b/cpan/bignum/lib/bigrat.pm
@@ -4,7 +4,7 @@ use 5.010;
use strict;
use warnings;
-our $VERSION = '0.50';
+our $VERSION = '0.51';
use Exporter;
our @ISA = qw( bigint );
diff --git a/cpan/bignum/t/option_l.t b/cpan/bignum/t/option_l.t
index 9e4d4ca7a4..c3a1d5d328 100644
--- a/cpan/bignum/t/option_l.t
+++ b/cpan/bignum/t/option_l.t
@@ -9,12 +9,12 @@ use Test::More tests => 19;
use bignum;
+# Catch warnings.
+
my @WARNINGS;
-{
- # This hack is to catch warnings. Math::BigInt imports 'carp' from 'Carp',
- # so we redefine it to catch the warnings.
- *Math::BigInt::carp = sub { push @WARNINGS, $_[0]; };
-}
+local $SIG{__WARN__} = sub {
+ push @WARNINGS, $_[0];
+};
my $rc;