my @keep = qw [two three]; my %keep; @keep{@keep} = @hash{@keep}; map {$hash{$_} = 0} for keys %hash; @hash{@keep} = @keep{@keep};
In reply to Re: performing operation on elements not in list?
by JavaFan
in thread performing operation on elements not in list?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |