for my $k (keys %hash) { my $v = delete $hash{$k}; my $t = transform($k); $hash{$t} = $v; }
UPDATE: woops. (probably a /msg would have done the trick?)
UPDATE: no, no offense at all.
-Paul
In reply to Re: Using substr on Hash Keys
by jettero
in thread Using substr on Hash Keys
by pc0019
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |