summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2008-10-15 19:07:38 +0000
committerSteve Peters <steve@fisharerojo.org>2008-10-15 19:07:38 +0000
commit417991fcde447d83d1b0e1efc675badd930b3f46 (patch)
treeb3c7e0e7b683ee127eb21c6ee015ad7dbdc0385f /lib
parent50d1e3bd601d3c7762a4c20e263f40782db52148 (diff)
downloadperl-417991fcde447d83d1b0e1efc675badd930b3f46.tar.gz
Silence a warning in Test::Builder that was causing lib/constant.t
to fail. p4raw-id: //depot/perl@34491
Diffstat (limited to 'lib')
-rw-r--r--lib/Test/Builder.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Test/Builder.pm b/lib/Test/Builder.pm
index 38a15d4216..531dd42eec 100644
--- 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;