I have a lot of perl scripts. I will be supporting multiple sites which might not have the same perl paths (shebang line).
How can I avoid changing the top shebang line in each of the perl scripts?
This is all in the unix environment.
regards, Gordon
The usual solution is to use the env
command:
#! /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