]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Tor Arntsen fixed how this is invoked
authorDaniel Stenberg <daniel@haxx.se>
Thu, 25 Mar 2004 12:16:42 +0000 (12:16 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Mar 2004 12:16:42 +0000 (12:16 +0000)
tests/testcurl.pl

index 71438137c0fe1077d2a16e928fb4d0865df70f41..1efbba3751faf6e3d323c63b32c4a0b4c89ecea1 100755 (executable)
@@ -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);