projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50d1e3b
)
Silence a warning in Test::Builder that was causing lib/constant.t
author
Steve Peters
<steve@fisharerojo.org>
Wed, 15 Oct 2008 19:07:38 +0000
(19:07 +0000)
committer
Steve Peters
<steve@fisharerojo.org>
Wed, 15 Oct 2008 19:07:38 +0000
(19:07 +0000)
to fail.
p4raw-id: //depot/perl@34491
lib/Test/Builder.pm
patch
|
blob
|
history
diff --git
a/lib/Test/Builder.pm
b/lib/Test/Builder.pm
index
38a15d4
..
531dd42
100644
(file)
--- a/
lib/Test/Builder.pm
+++ b/
lib/Test/Builder.pm
@@
-5,7
+5,7
@@
use 5.006;
use strict;
use warnings;
-our $VERSION = '0.82';
+our $VERSION = '0.82
_01
';
$VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval)
# Make Test::Builder thread-safe for ithreads.
@@
-487,6
+487,7
@@
sub _unoverload_num {
$self->_unoverload( '0+', @_ );
+ no warnings 'numeric';
for my $val (@_) {
next unless $self->_is_dualvar($$val);
$$val = $$val + 0;