for (keys %hash) { ... whatever ... }