Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Re: Re: CGI header doesn't like meby bobn (Chaplain) |
on Sep 10, 2003 at 04:40 UTC ( [id://290300]=note: print w/replies, xml ) | Need Help?? |
what you have works on my system, using mozilla as the browser. http requires a blank line after headers, before the actual content. On my system, print $cgi->header('text/plain'); does that. You should run your program from the command line to see that that is happening on your system. On the other hand, the extra "\n" doesn't hurt anything. --Bob Niederman, http://bob-n.com All code given here is UNTESTED unless otherwise stated.
In Section
Seekers of Perl Wisdom
|
|