Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Question about ternary operatorby ikegami (Patriarch) |
on Jul 01, 2009 at 18:31 UTC ( [id://776534]=note: print w/replies, xml ) | Need Help?? |
If the precedence was reversed, the intended use would not work. would mean
By the way, it's called the "conditional operator". Perl has many ternary operators.
In Section
Seekers of Perl Wisdom
|
|