Thanks for the clarification. Although, the reason PWS and IIS don't use the
shebang line to find the perl executable is exactly the same reason Windows
doesn't use the MIME type to open other binaries. Everything is based on
file associations with extensions. You're right, of course...but the
underlying issue is still a combination of the PWS & IIS servers *and* the
OS itself.

It's probably just semantic anyway. He should still use Apache. ;-)

Scot R.
inSite


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
$Bill Luebkert
Sent: Thursday, August 15, 2002 2:34 PM
To: Perl Users
Subject: Re: Getting cgis to work


Scot Robnett wrote:
>                                                 On Windows, the shebang
line
> is almost a frivolity - as long as the script has a .pl or .cgi extension
> (and you have .cgi associated with perl.exe), it should run. I'm not
> suggesting to get rid of that line, because it would be bad style - but
> Win32 doesn't really care about it.

It's not Windoze per se, it's because PWS and IIS don't use the shebang line
to
find the Perl exe - they use the file ext (.pl/.cgi) to find the associated
application.

Apache and many Win32 shells *do* use the shebang line as does Perl itself
to pick up the switches.

--
   ,-/-  __      _  _         $Bill Luebkert   ICQ=162126130
  (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic
http://www.todbe.com/

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to