if ($input{info1} || $input{info2} || $input{info3}) { print "information is valid for } else { print "none of the conditions were met\n"; }