Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Ternary operator (there's no Trinary operator )by jdhedden (Deacon) |
on Jul 19, 2006 at 17:07 UTC ( [id://562353]=note: print w/replies, xml ) | Need Help?? |
From perlop ,we have:
Conditional OperatorWhich says that ?: is a ternary-type operator (meaning it has 3 components), and that its name is "the conditional operator". "Trinary" is just not a word - it's a lexical error. "Tertiary" is a description of ordinality, and means "the third position". Thus, for ?:, the tertiary argument is returned when the conditional is false. Remember: There's always one more bug.
In Section
Meditations
|
|