mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
James Cone's little work-around for the strict error
This commit is contained in:
parent
ec585e8907
commit
17b0723713
@ -6,7 +6,7 @@
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
# These should be the only variables that might be needed to get edited:
|
# These should be the only variables that might be needed to get edited:
|
||||||
|
|
||||||
#use strict;
|
use strict;
|
||||||
#use warnings;
|
#use warnings;
|
||||||
|
|
||||||
@INC=(@INC, $ENV{'srcdir'}, ".");
|
@INC=(@INC, $ENV{'srcdir'}, ".");
|
||||||
@ -449,6 +449,7 @@ sub singletest {
|
|||||||
my $requires = $hash{'requires'};
|
my $requires = $hash{'requires'};
|
||||||
|
|
||||||
if (defined($requires)) {
|
if (defined($requires)) {
|
||||||
|
no strict "refs";
|
||||||
my $value=${$requires};
|
my $value=${$requires};
|
||||||
# print "This test requires '$requires' with value '$value' \n";
|
# print "This test requires '$requires' with value '$value' \n";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user