in reply to performing operation on elements not in list?
map { $hash{$_} = 0 } (keys %hash); [download]