in reply to Back-ticks and bash
Hmmm. Is it not the case that the leading whitespace prevents the shebang from being recognised? At that point it will be run by whatever the O/S chooses, which is probably not bash.
I'm not entirely sure that I see the point of making the tests in a bash script anyway. Why not perform the tests directly inside your perl script? Surely that would be less hassle.
|
|---|