in reply to Why does the Perl conditional operator not do what I expect?

The ternary operator has a low precedence. Once you have fallen into its trap 2-3 times, you begin start programming more defensivly. With the ternary operator I learned a general rule of programming "Don't try to be smart".
Something I did wrong quite a lot times:
@stuff = $arry_or_list ? @what : $foo, $bar;
P.S. Anyone remembers the epic Mr. Ternary is greater than Mrs. If Else

print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});