in reply to Re^3: PadWalker's closed_over - but for our variables?
in thread PadWalker's closed_over - but for our variables?
I don't care about 'no strict'.
Solutions are available by parsing the optree like demonstrated in B::Xref B::Concise and B::Deparse
But patching them means reinventing the wheel, which I tried to avoid.
> I'm not sure I agree
I had the discussion here not long ago. The perldocs are contradictory since our was introduced.
Lexical is a term borrowed from lisp for variables which have no dynamic scope, but only in the readable block.(lexical ~ like written)
You know I'm picky about terminology, calling my "private" and package vars "public" would have been better.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
See also Re^3: Unusual variable declaration ff
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: PadWalker's closed_over - but for our variables?
by haukex (Archbishop) on Apr 03, 2021 at 17:09 UTC | |
by LanX (Saint) on Apr 03, 2021 at 18:19 UTC |