4 ms·
Of course in Perl, a language not exactly immune from "syntax tricks", `and` doesn't always behave the same as `&&` :) $ perl -E 'say 1,2,3,4 and 5; say 1,
by darrenf 3y ago
Of course in Perl, a language not exactly immune from "syntax tricks", `and` doesn't always behave the same as `&&` :)
$ perl -E 'say 1,2,3,4 and 5; say 1,2,3,4 && 5'
1234
1235
- tyingq 3y agoNot defending it as sensible, but that difference in precedence is deliberate...not an oversight or side effect.