On Sat, 12 Oct 2002, Luke Palmer wrote:
: > Date: Sat, 12 Oct 2002 08:43:46 -0700 (PDT)
: > From: Larry Wall <[EMAIL PROTECTED]>
: >
: > If we use | and & as sugar for any() and all(), then their precedence
: > should probably be the same as || and &&. 
: 
: Should they?  I had in mind something just above comparisons.  That
: way:
: 
:       if $x == 3 || $y == 4 {...}
: 
: and
: 
:       if $x == 1 | 2 { ... }
: 
: both DWIM.  Is there a case for not doing this?

Mmm, only a precedence simplification case.  I'd forgotten about
the comparison ops.  Right above them is probably a good place.

Larry

Reply via email to