Unfortunately, IIS doesn't respect the shebang in CGI or ISAPI mode. One can change the CGI association from C:\Perl\bin\perl.exe "%s" %s to C:\Perl\bin\perl.exe -T "%s" %s -- but that may break other scripts, as it turns tainting on for all Perl scripts. Also, it can be very hard to do that when one doesn't have admin rights on a given server, but still wants to use the benefits associated with tainting.

In reply to Re: How do I get scripts to run with Taint mode on IIS? by legato
in thread How do I get scripts to run with Taint mode on IIS? by radiantmatrix

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":