Raw html from CGI.pm
posted by CodeGirlNote to self: if your perl CGI script ever returns what looks like raw HTML in your browser, check for print statements that
dont print html. ALL DAY I looked for the bug, luckily another team member found it for me. It was in a totally different method
from the one that generates the HTML, and therefore ended up getting sent just before the header, screwing up everything.
I also learned today that you can use
wget -d
to see all the headers being returned.
This entry was posted on Friday, August 20th, 2004 at 3:24 pm and is filed under Perl. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.



