use strict; my %hash = ( one => 'blah', two => 'echo', thr => 'aaaak', ); my %new_hash = map { ("~foo$_", $hash{$_}) } keys %hash;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How would I do an inplace edit, prepending
by meonkeys (Chaplain) on Feb 09, 2001 at 04:08 UTC |