Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^9: PadWalker's closed_over - but for our variables?

by LanX (Saint)
on Apr 05, 2021 at 22:18 UTC ( [id://11130870]=note: print w/replies, xml ) Need Help??


in reply to Re^8: PadWalker's closed_over - but for our variables?
in thread PadWalker's closed_over - but for our variables?

> > The term "lexical" is messed up tho.

> No. Maybe imprecise since there two kinds of lexically-scoped variables, but not messed up.

perlglossary is explicit that our-vars are not "lexicals".

https://perldoc.perl.org/perlglossary#lexical-variable

A variable subject to lexical scoping, declared by my. Often just called a “lexical”. (The our declaration declares a lexically scoped name for a global variable, which is not itself a lexical variable.)

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-03-29 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found