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

1) use a %hash to hold the values of interest.
2) use symbolic references.
3) use eval.

In that order of preference.

—John

  • Comment on Re: Creating new variables from the value of other variables