aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-21 22:39:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-21 22:39:09 +0000
commit17b07237134f37acdde19719a7eb328e2c540223 (patch)
tree6dd4626741f227fdd6301ca9dbbf3f29b7b8d8f7
parentec585e8907ac8df8c1545f1cd7e2567edf284d08 (diff)
James Cone's little work-around for the strict error
-rwxr-xr-xtests/runtests.pl3
1 files changed, 2 insertions, 1 deletions
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";