Are you sure? The execve function that is used to execute the script under Linux won't search the $PATH for an interpreter. On my system with an unqualified '#!perl' I get:
Of course your experience may be different.perl: bad interpreter: No such file or directory
/J\
In reply to Re^2: shebang line for Perl scripts under Apache/Windows
by gellyfish
in thread shebang line for Perl scripts under Apache/Windows
by bart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |