in reply to Changing the name of a variable in perl , with perl.

You don't want to do that. Mark J. Dominus has said it better than I can.

The short of it is, use a hash or an array as your data structure instead of using names.

  • Comment on Re: Changin the name of a variable in perl , with perl.