Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

Commit

Permalink
Improve portability of Perl scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Minoru committed Sep 29, 2016
1 parent fcbe4fd commit 1dc25a6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion contrib/pinboard.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl

use strict;
use LWP::UserAgent;
Expand Down
3 changes: 2 additions & 1 deletion doc/gen-example-config.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl

use warnings;
use strict;

print "####################################\n";
Expand Down
3 changes: 2 additions & 1 deletion doc/generate.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl

use warnings;
use strict;

if (scalar(@ARGV) < 1) {
Expand Down
3 changes: 2 additions & 1 deletion doc/generate2.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl

use warnings;
use strict;

if (scalar(@ARGV) < 1) {
Expand Down
3 changes: 2 additions & 1 deletion txt2h.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl

use warnings;
use strict;
use File::Basename;

Expand Down

0 comments on commit 1dc25a6

Please sign in to comment.