%hash = ( foo => 3, bar => 2, foo => 1, foo => 10); print join " ", %hash, "\n"; # outputs: bar 2 foo 10