in reply to Re: Why are closures cool, continued?
in thread Why are closures cool, continued?
Closure and anonymous sub -- two totally different things! An anonymous sub is a ref to a sub without a name. A closure is any sub (named or not) that refers to lexical variables defined outside of its scope.