diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2014-04-30 11:22:32 +0200 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2014-04-30 11:22:32 +0200 |
commit | 34db5ccf52ec2a1b5e953c282d0c52a7fc82c02a (patch) | |
tree | 9aa5f856d1be2a8b85daf74bc1464fbd12ef4b5e | |
parent | 83a003fcaec93dbfd5b46837f2bf3353412b9877 (diff) | |
download | haskell-34db5ccf52ec2a1b5e953c282d0c52a7fc82c02a.tar.gz |
Replace all #!/usr/bin/perl with #!/usr/bin/env perl
As suggested in #9057.
-rwxr-xr-x | boot | 3 | ||||
-rw-r--r-- | distrib/remilestoning.pl | 3 | ||||
-rwxr-xr-x | sync-all | 3 | ||||
-rw-r--r-- | utils/genargs/genargs.pl | 5 |
4 files changed, 10 insertions, 4 deletions
@@ -1,5 +1,6 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl +use warnings; use strict; use Cwd; diff --git a/distrib/remilestoning.pl b/distrib/remilestoning.pl index a544ddaf17..60a23af518 100644 --- a/distrib/remilestoning.pl +++ b/distrib/remilestoning.pl @@ -1,5 +1,6 @@ -#!/usr/bin/perl +#!/usr/bin/env perl +use warnings; use strict; use DBI; @@ -1,5 +1,6 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl +use warnings; use strict; use Cwd; use English; diff --git a/utils/genargs/genargs.pl b/utils/genargs/genargs.pl index 2ef2dfa3e6..33dd2a0c8c 100644 --- a/utils/genargs/genargs.pl +++ b/utils/genargs/genargs.pl @@ -1,4 +1,7 @@ -#!/usr/bin/perl +#!/usr/bin/env perl + +use warnings; + my $quote_open = 0; my $quote_char = ''; my $accum = ""; |