# is this really what you meant? # this is assignment, not comparison == is comparison if ($a=$b=$c=$d=$x=$w=$y=$z = 0)