in reply to Using hash value as condition.
For more insight as to why 'false' is true in Perl, see Truth and Falsehood in perlsyn, also What is true and false in Perl?.