Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Using Variable Value as Variable Name

by kennethk (Abbot)
on Jun 28, 2012 at 13:58 UTC ( #978938=note: print w/ replies, xml ) Need Help??


in reply to Re: Using Variable Value as Variable Name
in thread Using Variable Value as Variable Name

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.

  • Comment on Re^2: Using Variable Value as Variable Name

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://978938]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2016-07-27 04:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (242 votes). Check out past polls.