As for the "too late for -T" part - you did not invoke the perl script with 'perl -T script.pl'.
The #! line in your perl script has the -T option, but the perl interpreter was not invoked with -T in its argument list. By the time Perl discovers a -T in the script, it's too late to properly taint everything from the environment. Therefore Perl gives up with the error message.
The quick fix: just drop the -T in your perl script. You don't really need it here.
Also the line
print "Content-type: text/html";
needs to have two returns. Change it to
print "Content-type: text/html\n\n";
The two returns will insert a blank line after the Content-type, and this is required by the server. Otherwise you will get server errors.
You probably want to use HEREDOC too otherwise you will have to keep typing 'print' and quotes ... :)
I have created a demo program for you. It uses the CGI module to format a proper Content-type header, and then HEREDOC for the content of the HTML.
#!C:\Perl\bin\perl.exe -w
use strict;
use CGI;
my $cgi = new CGI;
print $cgi->header(), <<HTML
<html>
<head><title>wow</title></head>
<body>
IIS Perl Interpreter works jus fine
</body>
</html>
HTML
;