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

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2014-04-23 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (549 votes), past polls