in reply to
Re: Iterative anonymous subroutines
in thread
Iterative anonymous subroutines
That's a guaranteed memory leak. You'll need to
Scalar::Util
::weaken $anon at some point to break the closure's circular reference.
Comment on
Re^2: Iterative anonymous subroutines
Replies are listed 'Best First'.
Re^3: Iterative anonymous subroutines
by
ikegami
(Patriarch)
on Dec 13, 2005 at 19:20 UTC
aye. Refer to the posts by
demerphq
and
stvn
for solutions that don't leak.
[reply]
In Section
Seekers of Perl Wisdom