in reply to Re^2: Attempting to use $_ in "sub" inside "map"
in thread Attempting to use $_ in "sub" inside "map"
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Attempting to use $_ in "sub" inside "map"
by LanX (Saint) on May 10, 2021 at 14:40 UTC |
In Section
Seekers of Perl Wisdom