TMTOWTDI:
$hash{substr $_, 2} = delete $hash{$_} for keys %hash;
Update: Actually, this is the same solution as jettero wrote above, but I've made it more terse.
In reply to Re: Using substr on Hash Keys
by kyle
in thread Using substr on Hash Keys
by pc0019
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |