in reply to
Re: Can you explain the result?
in thread Can you explain the result?
I know and has lower priority than &&,but it doesn't explain this issue.
return (1 and 0);
See perlop for the precedence table. not, and, or, and xor are all at the bottom of the table.
Indeed. and 'n or are good for control flow such as replacing simple error-handling ifs, while && 'n || are your standard Boolean logic operators.
0 - I'm a blankster
0 - My devices have no keyboard
0 - I use a chorded keyboard that transcends your concept of keys
26 - I need the other keys for Perl sigils!
31 - I write code in the original APL
31 - ß counts only as one letter!
∞ - I use an Optimus keyboard
ℵ1 - I reject your Latin-centric notion of letters
Results (32 votes),