if ($value1 == 30 and $value2 > 0 and $string1 eq "winner") { print "winner!\n"; }