in reply to Re: Re: Re: split to hash, problem with random keys
in thread split to hash, problem with random keys
This depends on the sequence of elements returned being identical and is the only way I ever depend on order in a hash.my %new_hash; @new_hash{map munge($_), keys %old_hash} = value %old_hash;
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^4: split to hash, problem with random keys
by BrowserUk (Patriarch) on Jul 21, 2003 at 22:32 UTC | |
by demerphq (Chancellor) on Jul 22, 2003 at 12:38 UTC |