Did not make any difference.. I still get double Content-type headers..

A perl script that does exactly the same thing works without problems:

---
#!/usr/local/bin/perl

print "Content-type: text/html\n\n";
print <<EOM;
<HTML><HEAD><TITLE>Just testing</TITLE></HEAD>
<BODY BGCOLOR="white">
Just testing, minimal Perl cgi script
</BODY>
</HTML>
EOM
---

.. and is also 3 lines smaller

..and actually.. no extra newlines after the header is enough, since 'print
on the next line also gives one..

/PeO

> Whoops, I forgot to add the code:
> 
> <snip>
> > I doubt that this is the problem but only one additional
> > newline is needed, since 'print already supplies one.
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to