Perl: the Markov chain saw | |
PerlMonks |
Re: Ternary operatorsby ikegami (Patriarch) |
on Dec 20, 2013 at 16:36 UTC ( [id://1067963]=note: print w/replies, xml ) | Need Help?? |
Note that it's called the conditional operator. It's merely one of a few ternary operators. If you wanted to use the conditional operator, it would look like the following:
But that would be silly. You want
or
or
or
In Section
Seekers of Perl Wisdom
|
|