Perl-Sensitive Sunglasses | |
PerlMonks |
What does Test::LeakTrace do?by TerryBerry (Novice) |
on Jan 20, 2018 at 21:53 UTC ( [id://1207595]=perlquestion: print w/replies, xml ) | Need Help?? |
TerryBerry has asked for the wisdom of the Perl Monks concerning the following question: Could you nice folks clarify what Test::LeakTrace does and what problems it finds? I wonder if I misunderstand because it's giving me errors for very, very simple code. Or maybe there are some very simple things about Perl I've been doing wrong all these years. You decide (then tell me). Consider this code: AlmostEmpty.pm is, well, almost empty: Here's the output from running the script:
It seems weird to me to get any kind of memory leak for such a very basic script. Here's my perl version:
I'm running on Ubuntu Linux 17.10.
Back to
Seekers of Perl Wisdom
|
|