if ( $foo == undef() ) #### unless( defined($foo) ) #### if ( $foo == undef ) #### if ( $foo == DoesntMatterIfIamADefinedFunctionOrNot )