#!/usr/bin/perl
This is the shebang line to a lot of scripts I'm writing lately.
Hard coding the path of the binary seems like it could create some problems. For instance, if one of my users has Perl installed at /something_else/bin then they'd have to change all the shebangs.
I've seen some tools that will automatically replace the shebangs, but I'm wondering if there is something simpler.
env(1)
#!/usr/bin/env perl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With