Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Incomplete Output When Printing Hash

by RichardK (Parson)
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.

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2018-01-24 01:01 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (254 votes). Check out past polls.