Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Incomplete Output When Printing Hash

by RichardK (Vicar)
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
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?
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 pondering the Monastery: (16)
As of 2015-07-29 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls