in reply to perl script used as sh-bang
I'm not aware of any current release of a unix-like thing that has taken the trouble to change that behavior.
You can use PAR to compile your Perl-script into a real executable, which can then be used on a sh-bang line. However, unless you're using libperl.so, you'll then have a completely separate Perl interpreter running for every instance of your application as well, meaning that you lose the benefit of the normally-common read-only pages of all existing Perl scripts. This has performance implications, although it won't affect the possibility of running the script.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|