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

Answer: variable through another variable

by metadoktor (Hermit)
on Jan 26, 2002 at 12:03 UTC ( #141777=categorized answer: print w/replies, xml ) Need Help??

Q&A > Data Structures > variable through another variable - Answer contributed by metadoktor

So you've done something like this?
$var="\$somevariable";
and you want to do this?
$data=$var
now...
$data="$somevariable"
but why would you want to do that? Unless you really meant to do this?
$data=$somevariable;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2021-03-07 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (119 votes). Check out past polls.

    Notices?