I know about %::, which makes it easy to find out which package variables are defined. Is there an equivalent for lexical variables? I want to know which lexical variables are defined so I can then dump then in a string eval(), so performance is not much of an issue; however, walking the entire heap the way Devel::FindRef would be quite painful.
I know this is not the intended normal use of lexical variables. I accept what I'm trying to do isn't normal.
Thanks in advance, a cowardly noviceIn reply to %:: equivalent for my() variables? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |