in reply to Simple Hash problem
Update: Better hash slice solution:@hash{ grep( !defined($hash{$_}), @mips) } = (999) x @mips;
I had also missed the requirement to eliminate key/values not in @mips. ++Vavoom.@new{@mips}=map(($hash{$_}||999),@mips);
|
|---|