NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Recursive closures (Score:2)
B::Utilsfor a doubly-recursive closure. That broke my brane.Recursive closures (Score:2)
my $x; $x = sub { ... $x->(...) ... };
...you've just defined a circular data structure. So once you're finished with the whole excursion of calling $x, you have to undef $x or the sub-object doesn't get destroyed -- at least last I checked.
Re:Recursive closures (Score:1)
---ict / Spoon
Y Operator in Perl (Score:2)
Re: Y Operator in Perl (Score:1)