in reply to Re^4: Memory leaks and circular references
in thread Memory leaks and circular references

FIXED!

It turns out that by adding this to class Top the memory leakage (on Perl 5.10.0) went away.:
sub DESTROY { my $s = shift; undef(%$s) }

Replies are listed 'Best First'.
Re^6: Memory leaks and circular references
by Joost (Canon) on Sep 07, 2008 at 01:36 UTC