Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
As already asked on Stackoverflow: Please help us help you better by giving us more information: Is the problem related to writing to a file or does the program also crash when writing to the console? Can you please update your post and show us a short, but full program that reproduces the problem? Most likely, you can return a large but hardcoded/generated object from ->getFilterObject. Also show us a short but representative template file please. The best approach likely is to not generate the output as one large template string but to output the information piecemeal. This likely means rewriting your code completely. If you are generating XML, I recommend XML::Compile for producing XML from a Perl data structure, given an XSD that describes the intended output. In reply to Re: perl is crashing due to memory leak when the template toolkit output is being dumped into an output file(xml file)
by Corion
|
|