more useful options | |
PerlMonks |
Re^2: Using Variable Value as Variable Nameby kennethk (Abbot) |
on Jun 28, 2012 at 13:58 UTC ( [id://978938]=note: print w/replies, xml ) | Need Help?? |
See also Why it's stupid to use a variable as a variable name and, if still motivated, Symbolic references. The relevant line is Lexical variables (declared with my()) aren't in a symbol table, and thus are invisible to this mechanism. #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In Section
Seekers of Perl Wisdom
|
|