diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2018-07-04 17:51:34 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2018-07-04 21:37:52 +0100 |
commit | d5c196da3a56e7a4816ebfae9d7c245d3e234cbe (patch) | |
tree | 4d8209e0c43100ca257cf6ba35562a5bf13f6560 /cpan/bignum | |
parent | 8d55450d95f45fbeb2865a0e48f5b56388768d5a (diff) | |
download | perl-d5c196da3a56e7a4816ebfae9d7c245d3e234cbe.tar.gz |
Upgrade bignum from version 0.49 to 0.50
Diffstat (limited to 'cpan/bignum')
-rw-r--r-- | cpan/bignum/lib/Math/BigFloat/Trace.pm | 2 | ||||
-rw-r--r-- | cpan/bignum/lib/Math/BigInt/Trace.pm | 2 | ||||
-rw-r--r-- | cpan/bignum/lib/bigint.pm | 2 | ||||
-rw-r--r-- | cpan/bignum/lib/bignum.pm | 2 | ||||
-rw-r--r-- | cpan/bignum/lib/bigrat.pm | 2 | ||||
-rw-r--r-- | cpan/bignum/t/option_l.t | 7 |
6 files changed, 8 insertions, 9 deletions
diff --git a/cpan/bignum/lib/Math/BigFloat/Trace.pm b/cpan/bignum/lib/Math/BigFloat/Trace.pm index 04dec98bc5..5c2525d732 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.49'; +our $VERSION = '0.50'; 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 5f83c79210..500e1282e1 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.49'; +our $VERSION = '0.50'; use overload; # inherit overload from Math::BigInt diff --git a/cpan/bignum/lib/bigint.pm b/cpan/bignum/lib/bigint.pm index 92aeae8b07..b5f1fae563 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.49'; +our $VERSION = '0.50'; use Exporter; our @ISA = qw( Exporter ); diff --git a/cpan/bignum/lib/bignum.pm b/cpan/bignum/lib/bignum.pm index e052aabe29..89958c973b 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.49'; +our $VERSION = '0.50'; use Exporter; our @ISA = qw( bigint ); diff --git a/cpan/bignum/lib/bigrat.pm b/cpan/bignum/lib/bigrat.pm index 45682f7bbe..ec9e72bde7 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.49'; +our $VERSION = '0.50'; use Exporter; our @ISA = qw( bigint ); diff --git a/cpan/bignum/t/option_l.t b/cpan/bignum/t/option_l.t index 4744ded165..9e4d4ca7a4 100644 --- a/cpan/bignum/t/option_l.t +++ b/cpan/bignum/t/option_l.t @@ -11,10 +11,9 @@ use bignum; my @WARNINGS; { - # catch warnings: - require Carp; - no warnings 'redefine'; - *Carp::carp = sub { push @WARNINGS, $_[0]; }; + # 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]; }; } my $rc; |