in reply to Re: Re: How would I do an inplace edit, prepending
in thread How would I do an inplace edit, prepending '~foo' to every key of a hash? (was: How would I do an inplace edit, prepending)
$hash{"~foo$_"} = delete $hash{$_} for keys %hash;
--
$you = new YOU;
honk() if $you->love(perl)
|
|---|