I usually use
#!/usr/bin/env perl
which runs the (first) perl found in the PATH environment variable. See env.
In reply to Re: How do I use 'which' in the hash-bang line?
by haukex
in thread How do I use 'which' in the hash-bang line?
by rje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |