more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Even in CGI scripts, you should use strict; and use warnings;. This could help you right off the bad.
Does this work if the contents of the variable are small? In other words, are you positive it is related the size of the variable and not something that you're doing incorrectly in the script? Just because it prints at the command line doesn't mean it'll come through when calling it through the web server. I also noticed that $retHashRef{$viewItem[0]} = $viewStr; should be $retHashRef->{$viewItem[0]} = $viewStr; ... unless $viewItem is itself an anonymous array ref, which would mean you'd have to use $viewItem->[0]. We can't really help with out more code. In reply to Re: having problem in displaying large size of variable on web page
by perlfan
|
|