If lexical variables are already declared in the calling package, you can change their value, e.g. with PadWalker.
Otherwise it wouldn't compile under strict if you try to use them.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
In reply to Re^3: Named captures or positional variables
by LanX
in thread Named captures or positional variables
by MidLifeXis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |