Tor Arntsen fixed how this is invoked
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 7143813..1efbba3 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 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);