http://www.perlmonks.org?node_id=1000600


in reply to How to compare an empty key with another empty key in associative array

'' and {} are different in just about every possible way. What you are trying to do is equivalent to comparing a strawberry and a moose and say that they're the same.