use more portable /usr/bin/env perl for scripts
This is useful, e.g. if your perl is not installed in `/usr/bin` or you want to give a specific perl precendence over the one installed in `/usr/bin`. The `-w` is not needed since there is also `use warnings;` in these scripts.
This commit is contained in:
parent
eb428d7d31
commit
b1a96f58b6
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/perl -w
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/perl -w
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue