I just changed servers. My new server prints out HTTP headers when ever a perl script is run.
HTTP/1.1 200 OK Date: Sat, 19 Oct 2002 15:41:59 GMT Server: Microsoft-IIS/5.0 Content-type: text/html
print "Content-Type: text/html\n\n"; # output http header
## etc..
Even if I remove the content-type line I still get the header. Is this a problem with the server settings or do I need to add something else to my perl script??