in reply to Creating subroutines on the fly
Something I don't think's been mentioned yet: remember that doing this won't preserve the closure-ness / binding of lexical variables.
And while possibly backwards from what you're trying to do you might look at Re: How to store CODE ref.
|
---|