Hi,
 
I'm a Perl and CGI newbie trying to get a successful Perl installation on my IIS so that I can start to learn the stuff!  When I try to test the server with a Perl script (see below), I get the following message:
 
"The specified CGI application misbehaved by not returning a complete set of HTTP headers.  The headers it did return are:
Too late for "-T" option at c:\inetpub\scripts\perltest.pl line 1."
 
I installed my IIS server and tested it successfully with a simple html file that I stored in C:\Inetpub\wwwroot\.   And I successfully tested my perl script's syntax from the command line.  I stored my test script in the C:\Inetpub\Scripts\ directory.  The script is below.  Can anyone tell me what could be happening to cause the CGI error message?  Thank you so much!
 
#!C:\Perl\bin\perl.exe -wT
 
print "Content-type:text/html\n\n";
print "This is testing a perl script on my server.";
 
 
Nancy Wickstrom

Reply via email to