in reply to Re: Nailing down closures!
in thread Nailing down closures!

But this will not work, because the inner sub "f" is really global and the closure won't behave like you want it to. The solution is to make f anonymous:
This may be of some relevance here...