]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Move '-w' in the #! line into 'use warnings;' in the Perl code, to
authorSimon Tatham <anakin@pobox.com>
Sun, 30 May 2010 22:50:18 +0000 (22:50 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 30 May 2010 22:50:18 +0000 (22:50 +0000)
simplify the #! line.

[originally from svn r8967]

mkfiles.pl

index 118667bb4de82d08505364890d4bcb8ec0a0f992..0a535a3244df3c5fe9c2030d8d3fdc1ee5a7d5b5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl -w
+#!/usr/bin/env perl
 #
 # Cross-platform Makefile generator.
 #
@@ -15,6 +15,7 @@
 #
 # FIXME: no attempt made to handle !forceobj in the project files.
 
+use warnings;
 use FileHandle;
 use Cwd;