in reply to
Re2: Garbage-collecting with closures
in thread
Garbage-collecting with closures
The output is correct, but it eats up memory. If you keep looping on that sub, your machine will go into swap.
Comment on
Re: Re2: Garbage-collecting with closures
In Section
Seekers of Perl Wisdom