|Don't ask to ask, just ask|
Incomplete Output When Printing Hashby FAX (Novice)
|on Aug 18, 2013 at 17:56 UTC||Need Help??|
FAX has asked for the
wisdom of the Perl Monks concerning the following question:
Dear Gentlemen and Ladies ... first, allow me to say that you are the "go to" resource for Perl information and I greatly appreciate this site. Also, this is my first question and, although I've read the guidelines, should I make a mistake in presenting my quandary, please don't interpret that as disrespect or an attempt to irritate you.
Sadly, my question is so simple, I hesitate to even ask. However, I cannot seem to find a solution or answer having Googled my brains out and, rather than turn to alcoholism, I thought I'd ask.
Here's the problem ... I'm printing a hash. Real simple. Done it a thousand times. The hash is generated from a SQL query (also done a thousand times). The query results in 63 hash elements ...
Is that number correct? I counted the entries in the SQL table. It's 63. However, when I trawl through the hash, and print the entire result, I can only see about 19 or so entries. It's as though the list is truncated for some reason. It's insane. The same effect on Firefox 12.0 and various releases of IE, so the problem appears to be browser unrelated.
When this failed after numerous attempts, I noticed that some of you like the Data::Dumper::Simple module. Thinking that, perhaps, the issue is simply some odd inability of the browser to accept my entire list, I loaded that module and used it. Same result ... a truncated list.
What's in the data, you might ask? Nothing strange. Letters and numbers ... what many call alphanumeric characters. There's nothing in the hash list that, by and of itself, might cause the list to break. In case I missed something, however, I changed the data to basic numbers 1 .. 63 and recreated the same problem. What, pray tell, am I doing wrong? I do not believe I am a moron. However, I'm willing to confess that I am and stamp a red "M" on my forehead should you prove it.
Please help, I beg you for I am rapidly losing what remains of my mind.Best, FAX