in reply to Re^3: Can you explain the result?in thread Can you explain the result?
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.
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (531 votes). Check out past polls.