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