in reply to Re: Benchmark.pm's scoping behavior
in thread Benchmark.pm's scoping behavior
Closures are cool. I've never had any trouble understanding lexical variables within some other block (like a sub). I guess I have never tried to declare a closure at file scope, so I've haven't learned to fear them. It wouldn't have worked for me (at file scope), before today, so I guess the timing is better this way. :-)
Thanks for sharing your knowledge...
Russ
|
|---|