Perl Monk, Perl Meditation | |
PerlMonks |
Re^7: Memory leak detectionby andal (Hermit) |
on Sep 11, 2014 at 12:20 UTC ( [id://1100286]=note: print w/replies, xml ) | Need Help?? |
Strictly speaking this is not a "leak". The variables are still accessible from the code. They will get released when the subroutine goes out of scope. Of course, if one of subroutines references variable that keeps reference to that subroutine, then neither code, nor the variable will be released, but this is circular reference again :)
In Section
Seekers of Perl Wisdom
|
|