go ahead... be a heretic | |
PerlMonks |
Re^3: Attempting to use $_ in "sub" inside "map"by tobyink (Canon) |
on May 10, 2021 at 14:30 UTC ( [id://11132339]=note: print w/replies, xml ) | Need Help?? |
In languages without lexically scoped variables or something approximating them, there's not really any such thing as a closure. You can still have first-class functions (i.e. coderefs); they just have no need to close over anything.
In Section
Seekers of Perl Wisdom
|
|