Obviously this applies equally with python, bash, sh, etc substituted for perl!
Quentin's answer below was clearly correct, and so I've accepted it, but I guess what I actually meant was 'what are the pros and cons of the two ways of using #! to invoke perl/python/bash as the interpreter of a script?'
One references a common place that perl is installed. The other references a common place that env is installed and asks it what the path to the default perl is.
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