in reply to Re: Hash Question
in thread Hash Question
That could be made to go into a different hash, if that's your thing.foreach my $key (keys %hash1) { $hash1{$key} = [ defined $hash2{$key} ? ($hash1{$key}, $hash2{$key}) : $hash1{$key} ]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: Hash Question
by lindex (Friar) on Oct 06, 2000 at 22:04 UTC |