http://www.perlmonks.org?node_id=11132344


in reply to Re^3: Attempting to use $_ in "sub" inside "map"
in thread Attempting to use $_ in "sub" inside "map"

> first-class functions (i.e. coderefs)

Doesn't equal closures. OK PHP is using that terminology, but it's wrong ...

... anyway who's using PHP anymore ;-)

> In languages without lexically scoped variables or something approximating them

do you have an example for such a language with functions as first class objects?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^4: Attempting to use $_ in "sub" inside "map"