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


in reply to Re^2: Curious about Hashes which viewed as a list has only one item
in thread Curious about Hashes which viewed as a list has only one item

Well, for one thing if you were actually writing that literally you'd have to put the HASH(xxx) bit in quotes. But you're correct, that statement would not print anything. But if you changed defined to exists, then it would print yep because that key is really present in the hash.