if($1 or $2 or $3 or $4) { # any of $1..$4 is not empty