Dave Mitchell <davem@fdgroup.com>:
> This isn't a bug, it's a feature :-)
>
> sub () {$lexical} is a constant sub generator, ie each call to 'sub'
> returns a new constant sub rather than a closure.
Oh well, so much for the principle of least astonishment.
What's the workaround for this feature?