Undefs and empty strings are equal. The OP wanted to check if all values are equal.
In reply to Re^3: scanning hash by ambrus in thread scanning hash by hotshot