in reply to Re^3: can i rename hashref keys?
in thread can i rename hashref keys?

Given that initializing the hash just requires you list a bunch of keys and values, this can be simplified:

@{$h}{qw/ month year day first_name /}= delete # New keys @{$h}{qw/ mm yyyy dd name /}; # Old keys

Yeah, I added some extra braces.

- tye