undef # False
'' # Defined, False
0 # Defined, Has Length, False
'0' # Defined, Has Length, False
Perl does not have a boolean data type, nor does it have any true and false keywords like many other languages. However, every scalar value will evaluate to true or false when evalu...