If you want to return one of several different styles of closure, you'll need to have closure generators for each of them, or a conditional block that determines which to return.
In reply to Re: Can a sub generate a closure from within itself?
by simonm
in thread Can a sub generate a closure from within itself?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |