From: Michael G. Schwern Date: Tue, 3 Mar 2009 00:08:38 +0000 (-0800) Subject: Quote "strict"->import and "warnings"->import to quiet warnings. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0c3906b8d7f8aa1d0043aa83d9efabd51a266d7b;p=p5sagit%2Fp5-mst-13.2.git Quote "strict"->import and "warnings"->import to quiet warnings. [Ammended slightly to invert the change in 3fd4b35989] --- diff --git a/t/TEST b/t/TEST index 8484e45..c466d0e 100755 --- a/t/TEST +++ b/t/TEST @@ -11,8 +11,8 @@ my $Valgrind_Log = 'current.valgrind'; $| = 1; # for testing TEST only -#BEGIN { require '../lib/strict.pm'; strict->import() }; -#BEGIN { require '../lib/warnings.pm'; warnings->import() }; +#BEGIN { require '../lib/strict.pm'; "strict"->import() }; +#BEGIN { require '../lib/warnings.pm'; "warnings"->import() }; # Let tests know they're running in the perl core. Useful for modules # which live dual lives on CPAN.