Do you know where your variables are? | |
PerlMonks |
having problem in displaying large size of variable on web pageby perlCrazy (Monk) |
on Sep 27, 2007 at 11:18 UTC ( [id://641333]=perlquestion: print w/replies, xml ) | Need Help?? |
perlCrazy has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I am having problem in displaying large size of varaible on web page. Below is the Example: Here in this example I am returning \%retHashRef to calling program. $viewStr is very big in size lets say 2 MB. When I do print $viewStr, it does print. But when i am trying to print inside HTML like this it doesn't display anything: Can somebody Please advice me why this is happening ? Thanks in advance. Note : When I do just print $dbDDL->{$row}, it does print. Update: Thanks for the response. And sorry for not being very clear in my post. When I try to display small string it does display properly. This happens only when string size is very big. Regarding P3::Util::HTML module, that is our own module and there is no problem in this. Here is the code : this is the code that does display on browswer.
Back to
Seekers of Perl Wisdom
|
|