unless ($found == undef) { ... #### if ( defined( $found )) {...} #### if ( $found ) { ... }