in reply to How to find the repeated text in hash
A hash cannot have keys repeated.
But maybe, while filling the hash with data, you want to find out if a key already exists in the hash.