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.
In reply to Re: Back-ticks and bash
by hippo
in thread Back-ticks and bash
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |