while (my ($k,$v) = each %hash) #### for (keys %hash)