Perl Monk, Perl Meditation | |
PerlMonks |
Re: Losing my memoryby Fletch (Bishop) |
on Feb 04, 2021 at 19:04 UTC ( [id://11127891]=note: print w/replies, xml ) | Need Help?? |
Not sure but from your description what's happening is even though you're calling the destroy method on the Tk widgets you're not removing the references to those widgets from your hash %TK so the underlying resources those are using aren't going away. I'd bet if you also did e.g. undef $TK{'pw-'.$NVP{'Id'}} after calling destroy you'd see things clean up much more completely.
The cake is a lie.
In Section
Seekers of Perl Wisdom
|
|