aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-25 12:16:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-25 12:16:42 +0000
commitf28389c87b02cabfed341a39c8ba78e816e272c3 (patch)
tree3c115f9808048a961ed5dce3db57ce30d6060aae /tests/testcurl.pl
parent7461592a16f4a048b1a61536c33ddb32be02db7c (diff)
Tor Arntsen fixed how this is invoked
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 71438137c..1efbba375 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl -w
+#!/usr/bin/env perl
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
@@ -46,6 +46,9 @@ use strict;
use Cwd;
+# Turn on warnings (equivalent to -w, which can't be used with /usr/bin/env)
+BEGIN { $^W = 1; }
+
use vars qw($version $fixed $infixed $CURLDIR $CVS $pwd $build $buildlog $buildlogname $gnulikebuild);
use vars qw($name $email $desc $confopts);