From 17b07237134f37acdde19719a7eb328e2c540223 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 21 May 2002 22:39:09 +0000 Subject: [PATCH] James Cone's little work-around for the strict error --- tests/runtests.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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";