if ( $bar !~ /bar/ and ( $baz =~ /qux/ or not defined $undef ) ) #### if( $bar !~ /bar/ ) if ( $baz =~ /qux/ or not defined $undef )