On Thu, Feb 10, 2005 at 12:02:01PM -0600, Rod Adams wrote: > Patrick R. Michaud wrote: > > >Even if you fixed the =/and precedence with parens, to read > > > > my $x = (any(2,3,4,5) and any(4,5,6,7)); > > > >then I think the result is still that $x contains any(4,5,6,7). > > > > > Funny. I thought $x would contain 'true' here, since C<and> was a > boolean operator. But I could be very wrong.
The boolean form of C<and> is C<?&> . C<and> is the low-precedence version of C<&&>. Pm