Good point. Both operands to an "or" are expressions, not statements, so you can't parse "print 1 if $x or print 0" as "( print 1 if $x ) or print 0" since "print 1 if $x" is not a valid expression (since "if" is a statement modifier).
- tye (but my friends call me "Tye")In reply to (tye)Re2: Weird syntax question
by tye
in thread Weird syntax question
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |