Modifying one key name in a hash does not make much sense to me and must be done copying the original to a new one and delete the original key, like in:
$hash{'new_key'} = $hash{'key'}; delete $hash{'key'};
L*
In reply to Re: modifie the first set of keys in a hash
by Discipulus
in thread modifie the first set of keys in a hash
by etricaen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |