From 405fd6516c5ab73dfaab6dc3295a47b91545f65d Mon Sep 17 00:00:00 2001 From: James E Keenan Date: Fri, 12 Oct 2018 08:04:22 -0400 Subject: [PATCH] Sync bignum with CPAN version 0.51 --- Porting/Maintainers.pl | 2 +- cpan/bignum/lib/Math/BigFloat/Trace.pm | 2 +- cpan/bignum/lib/Math/BigInt/Trace.pm | 2 +- cpan/bignum/lib/bigint.pm | 2 +- cpan/bignum/lib/bignum.pm | 2 +- cpan/bignum/lib/bigrat.pm | 2 +- cpan/bignum/t/option_l.t | 10 +++++----- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index c23af8d..6aed94a 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -185,7 +185,7 @@ use File::Glob qw(:case); }, 'bignum' => { - 'DISTRIBUTION' => 'PJACKLAM/bignum-0.50.tar.gz', + 'DISTRIBUTION' => 'PJACKLAM/bignum-0.51.tar.gz', 'FILES' => q[cpan/bignum], 'EXCLUDED' => [ qr{^t/author-}, diff --git a/cpan/bignum/lib/Math/BigFloat/Trace.pm b/cpan/bignum/lib/Math/BigFloat/Trace.pm index 5c2525d..2fc0693 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 500e128..5517bed 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 b5f1fae..8d7048b 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 89958c9..55300c8 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 ec9e72b..0a98147 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 9e4d4ca..c3a1d5d 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; -- 1.8.3.1