I'm pretty sure both are correct. I have trouble to imagine closed over variables which are not lexical. (I usually call those global ;-)
Personally I'd use "lexical closure" to disambiguate, if there is another interpretation of "closure" in the context.
The same way we use "file-glob" and "type-glob" to distinguish between glob and the * sigil
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^2: Attempting to use $_ in "sub" inside "map"
by LanX
in thread Attempting to use $_ in "sub" inside "map"
by NetWallah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |