Regexps are already closures via the ??{ construct. You just can't jump back into regexp because the engine isn't re-entrant (though I hear it works a bit - I seem to fall over all the nasty bits). What I'm really pining for are:
And I want these not because they're cool but because at various points I could have made my own code simpler, more efficient or had some otherwise significant improvement.
In reply to Re: Re: Re: Favorite Perl 6 feature?
by diotalevi
in thread Favorite Perl 6 feature?
by zby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |