Syntactic Confectionery Delight | |
PerlMonks |
Re: cgi responseby chromatic (Archbishop) |
on Jul 02, 2003 at 20:29 UTC ( [id://270939]=note: print w/replies, xml ) | Need Help?? |
I think you mean Content-type: text/html\n\n. Note that it has a hyphen. If you were to use the CGI module, you could simply use the header() method with no arguments:
You'll find you have more luck parsing params with CGI.pm than trying to read from INPUT which probably isn't even open.
In Section
Seekers of Perl Wisdom
|
|