Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Answer: variable through another variable

by metadoktor (Hermit)
on Jan 26, 2002 at 17: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 meditating upon the Monastery: (4)
As of 2020-04-06 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (42 votes). Check out past polls.

    Notices?