]> granicus.if.org Git - curl/commitdiff
James Cone's little work-around for the strict error
authorDaniel Stenberg <daniel@haxx.se>
Tue, 21 May 2002 22:39:09 +0000 (22:39 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 21 May 2002 22:39:09 +0000 (22:39 +0000)
tests/runtests.pl

index 447d14500446a68e3e7a553df19fc83da8d7933a..a9b6e6ff31ba279321403cff1cf58b9c98915dd4 100755 (executable)
@@ -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";