in reply to equal keys in a hash
A hash will never have two identical keys.
#!/usr/bin/perl -w use strict; my %hash = ( foo => 1, bar => 2, baz => 3, foo => 4, ); print $hash{foo}, "\n"; # prints 4 [download]