in reply to Re: Weird syntax question
in thread Weird syntax question
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")
|
|---|