in reply to Reset while loop to beginning of hash when using 'each'

The Camel says (in the definition of the each function):
There is a single iterator for each hash, shared by all each, keys and values function calls in the program; it can be reset by reading all the elements from the hash, or by evaluating keys %hash or values %hash.