I tried
for quite a long time and saw usage of constant memory.my $foo; sub leaky { my $closure = sub { $foo++ }; } for (;;) {leaky}
Courage, the Cowardly Dog
In reply to Re: Re: Garbage-collecting with closures
by Courage
in thread Garbage-collecting with closures
by batkins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |