I guess that the perl parser is a bit of a smart-ass here, as bending the precedence rules a little will allow the expression to get successfully parsed, instead of producing an unhelpful syntax error.
In reply to Re: Surprised by Perl parse of ternary operator
by bart
in thread Surprised by Perl parse of ternary operator
by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |