in reply to Incomplete Output When Printing Hash
The story sounsd wierd, but try this snippet to get a hint on the output:
use Data::Dumper; print "<html><meta http-equiv='content-type' content='text/html; chars +et=UTF-8'><BR/><BR/>"; print "<BR/>FtchObjtDets<BR/><BR/>"; print "<pre>\n"; print Dumper(\%myobjtdets), "\n"; print "</pre>\n"; print "</html>"; exit;
And show us the output.
Update: I don't know, what you meant with "print". Is the only output to a browser via your snippet? You should look at the Dumper output on the console. What you don't do: You do not encode HTML entities. When the elements of your hash contain HTML special characters like "<", you're generating HTML tags.
McA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Incomplete Output When Printing Hash
by FAX (Novice) on Aug 18, 2013 at 20:33 UTC | |
by Monk::Thomas (Friar) on Aug 19, 2013 at 07:39 UTC | |
|
Re^2: Incomplete Output When Printing Hash
by FAX (Novice) on Aug 18, 2013 at 20:27 UTC |