my %copy = %hash; delete @copy{@array}; my @left_over = keys %copy;