in reply to Re^2: Question about ternary operatorin thread Question about ternary operator
$ perl -MO=Deparse,-p -e '1 ? $a = 3 : $b = 4' (($a = 3) = 4); -e syntax OK [download]
You see it is parsed, not just the way you'd naively expect it.