in reply to Ternary operator (there's no Trinary operator )

From perlop ,we have:
Conditional Operator
    Ternary "?:" is the conditional operator, just as in C.
Which 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.

Replies are listed 'Best First'.
Re^2: Ternary operator (there's no Trinary operator )
by rir (Vicar) on Jul 21, 2006 at 03:00 UTC
    Trinary certainly is a word; in this context is a synonym for ternary.

    Be well,
    rir