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

Re: Creating new variables from the value of other variables

by malloc (Pilgrim)
on Jun 21, 2001 at 01:23 UTC ( [id://90202]=note: print w/replies, xml ) Need Help??


in reply to Creating new variables from the value of other variables

THTOWTDI Dammit! $$variablename = $newdata; will do what you want. I think that you should know this, even though i am probably going to get downvoted. I have read Dominus's excellent paper quoted above, and heartily agree with it. You should to. Consider using a hash, for instance with the key as "variable name" and value as value.

hope this helps,
-malloc
  • Comment on Re: Creating new variables from the value of other variables

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found