in reply to Re: Closures, object destruction and memory leaks
in thread Closures, object destruction and memory leaks
I _think_ the memory leak you mean only comes up with recursive closures:
my $foo; $foo=sub { $foo->(@_[1..$#_]) if @_ }; $foo->();
But like you I dont remember the details...
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Closures, object destruction and memory leaks
by tilly (Archbishop) on Nov 10, 2003 at 18:27 UTC |