in reply to Modifying hash keys via the control variable

Hash keys are immutable!

You could delete the old one and create a new one.

In your case better a complete new hash.

But I'd rather add a new subkey email!

Your data model attracts problems...

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re: Modifying hash keys via the control variable