The simplest way is with a single loop:
This might even touch off a round of golf...foreach my $k (@mips) { $hash{$k} = 999 unless exists $hash{$k}; }
HTH
In reply to Re: Simple Hash problem
by VSarkiss
in thread Simple Hash problem
by Evanovich
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |