if ($cond_1 && $cond_2) { # Do something } #### print if /match/;