go ahead... be a heretic | |
PerlMonks |
Re^4: Memory Leak HTML::FormatTextby PerlNovice999 (Novice) |
on Sep 16, 2013 at 09:17 UTC ( [id://1054260]=note: print w/replies, xml ) | Need Help?? |
Sorry, my mistake, this was supposed to read $content->delete();The hope was that this would destroy the Treebuilder object, which apparently gets build via HTML::FormatText, and thus prevent the memory leak. There is a reference to a delete function in the CPAN documentation, but I just get the error message "Can't call method...". The same goes for this line, which I just tried now after reading your earlier entry: $content->eof;
In Section
Seekers of Perl Wisdom
|
|