in reply to perl path: WinNT to Unix
#!perl
Of course, as others have mentioned, on Win, file associations also come into play. That, however, is not always reliable. Typically .pl (or .plx) is associated with the perl binary, so .cgi would not be. Of course, typing
would work because perl itself is in the path.prompt>perl myscript.whateverextension
And, as ikegami said, the shebang line is _the_ place for the switches.
|
|---|