I've personally never worried about it except deleting Very Large
hash members (like stdout/stderr capturing).
On Oct 23, 2007, at 4:12 PM, Ethan Mallove wrote:
Open question: does MTT make good use of Perl's garbage
collector? E.g., is this good or bad Perl?
use Foo;
my bar;
sub baz
Open question: does MTT make good use of Perl's garbage
collector? E.g., is this good or bad Perl?
use Foo;
my bar;
sub baz {
my $bar = new Foo;
...
}
&Foo::baz();
&Foo::baz();
&Foo::baz();
...
When, if ever, is it best to reclaim memory using DESTROY?
-Ethan