Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by AnomalousMonk (Archbishop)
on May 08, 2021 at 09:47 UTC ( [id://11132265]=note: print w/replies, xml ) Need Help??


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

I have trouble to imagine closed over variables which are not lexical.

Yeah, I was thinking about it after posting and I couldn't come up with an example of non-lexical closure either. I'll just add a link to the Wikipedia article and let everyone else figure it out. :)


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-19 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found