Used to iterate over an entire hash, allowing you to examine every element.
# The only practical way to use it would be in a while loop: while (($key, $value) = each %hash) { print "$key => $value\n"; } # Result # a => 1 # c => 3 # b => 2