Evanovich has asked for the wisdom of the Perl Monks concerning the following question:
my @mips = qw( A B C D E F) my %hash = ( A => 1.6543 B => 2.45433 C => -.4533 E => 1.453 G => -1.875 ); I want a resulting hash that looks like: A => 1.6543 B => 2.45433 C => -.4533 D => 999 E => 1.453 F => 999 Any suggestions are appreciated! thanks,Evan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Simple Hash problem
by Juerd (Abbot) on Feb 08, 2002 at 20:45 UTC | |
|
Re: Simple Hash problem
by VSarkiss (Monsignor) on Feb 08, 2002 at 20:16 UTC | |
by Vavoom (Scribe) on Feb 08, 2002 at 20:41 UTC | |
by trs80 (Priest) on Feb 08, 2002 at 21:38 UTC | |
by crazyinsomniac (Prior) on Feb 09, 2002 at 10:13 UTC | |
by particle (Vicar) on Feb 08, 2002 at 20:47 UTC | |
|
Re: Simple Hash problem
by lestrrat (Deacon) on Feb 08, 2002 at 20:19 UTC | |
|
Re: Simple Hash problem
by Zaxo (Archbishop) on Feb 08, 2002 at 20:48 UTC | |
|
Re: Simple Hash problem
by impossiblerobot (Deacon) on Feb 08, 2002 at 20:53 UTC |