From: Daniel Stenberg Date: Tue, 21 May 2002 22:39:09 +0000 (+0000) Subject: James Cone's little work-around for the strict error X-Git-Tag: curl-7_9_8~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17b07237134f37acdde19719a7eb328e2c540223;p=curl James Cone's little work-around for the strict error --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 447d14500..a9b6e6ff3 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -6,7 +6,7 @@ ####################################################################### # These should be the only variables that might be needed to get edited: -#use strict; +use strict; #use warnings; @INC=(@INC, $ENV{'srcdir'}, "."); @@ -449,6 +449,7 @@ sub singletest { my $requires = $hash{'requires'}; if (defined($requires)) { + no strict "refs"; my $value=${$requires}; # print "This test requires '$requires' with value '$value' \n";