Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Incomplete Output When Printing Hash

by RichardK (Priest)
on Aug 18, 2013 at 23:22 UTC ( #1049959=note: print w/ replies, xml ) Need Help??

in reply to Incomplete Output When Printing Hash

What a fun problem ;)

to me, the only things that stand out are

  • Firefox 12 is really quite old, the current version is 23, but I'm not sure that will make much difference
  • you're missing your body tag, html really should look something like this:-
<html> <head> </head> <body> content here </body> </html>

browsers do try to guess what you meant, and usually do the right thing -- but in this case who knows?

I usually use CGI to generate this type of html, I find it much easier.

Comment on Re: Incomplete Output When Printing Hash
Download Code
Re^2: Incomplete Output When Printing Hash
by Anonymous Monk on Aug 19, 2013 at 11:47 UTC
    The first thing to do (and something a lot of people fail to do) when debugging CGI is to get rid of HTML:
    print "Content-Type: text/plain\r\n\r\n";

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1049959]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (13)
As of 2015-01-30 15:54 GMT
Find Nodes?
    Voting Booth?

    My top resolution in 2015 is:

    Results (251 votes), past polls