Syntactic Confectionery Delight | |
PerlMonks |
Re: Running Perl Scriptsby tcf22 (Priest) |
on Nov 06, 2003 at 03:30 UTC ( [id://304941]=note: print w/replies, xml ) | Need Help?? |
A blank line("\n\n") is required to signal the end of your headers.
print "Content-type:text/html\n\n"; should fix the issue in this script. When you get into more complicated CGIs dealing with cookies, expirations and such, you only put the blank line at the end of all headers. You may also want to consider using CGI methods to output you headers and html. I personally prefer HTML::Template, but either will work. - Tom
In Section
Seekers of Perl Wisdom
|
|