Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
[davido]: jdporter : Is there a specific issue, or are we all just getting up there?
thezip vouches for that, but then forgets what he was vouching for...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2018-06-21 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (118 votes). Check out past polls.

    Notices?