Keep It Simple, Stupid | |
PerlMonks |
Re: How to avoid closures and memory leaks.by salva (Canon) |
on Oct 20, 2014 at 10:57 UTC ( [id://1104414]=note: print w/replies, xml ) | Need Help?? |
Use curry::weak from curry or Method::WeakCallback.
Those help when your memory leaks are due to subs wrapping method calls as for instance:
In Section
Seekers of Perl Wisdom
|
|