in reply to shebang lines (Re: Premature Error using CGI.pm)
in thread Premature Error using CGI.pm

Okay, maybe I underspoke - perl on win32 uses the shebang line to get command line options, that is to say: a perl script on win32 w/ line 1 as:
#!/usr/bin/perl -w
doesn't care that /usr/bin/perl doesn't exist but, assuming you're doing:
perl myscript_with_shebang.pl
will use the '-w' for the script. However, -T will be 'too late' on win32.

a

  • Comment on Re: shebang lines (Re: Premature Error using CGI.pm)