From: Steve Peters Date: Wed, 15 Oct 2008 19:07:38 +0000 (+0000) Subject: Silence a warning in Test::Builder that was causing lib/constant.t X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=417991fcde447d83d1b0e1efc675badd930b3f46;p=p5sagit%2Fp5-mst-13.2.git Silence a warning in Test::Builder that was causing lib/constant.t to fail. p4raw-id: //depot/perl@34491 --- diff --git a/lib/Test/Builder.pm b/lib/Test/Builder.pm index 38a15d4..531dd42 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;