the only possibility I see for a generic get_mem() is to
Lexical variables are destroyed at the end of their scope.
And totally different lexicals in a file can have the same name.
The documentation of PadWalker talks about this.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re^11: Finding file level lexical variables
by LanX
in thread Finding file level lexical variables
by johndeighan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |