"be consistent" | |
PerlMonks |
Re^2: Question about ternary operatorby rovf (Priest) |
on Jul 01, 2009 at 11:50 UTC ( [id://776396]=note: print w/replies, xml ) | Need Help?? |
The problem is that the assignment has a looser precedence than the ternary op. Shouldn't then the OP's program had reported a syntax error?
-- Ronald Fischer <ynnor@mm.st>
In Section
Seekers of Perl Wisdom
|
|