Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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

by LanX (Sage)
on May 10, 2021 at 14:40 UTC ( #11132344=note: print w/replies, xml ) Need Help??

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"

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11132344]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2021-12-07 09:53 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (33 votes). Check out past polls.