if ($name ne $t1 || $t2) { do something }