News for hackers. Stuff that matters.
Re:Why 1 && 2 == 2 by pyre on Friday July 19, 2013 @01:27AM (#6068472)
It's worth noting that in Perl the 'or' and 'and' operators are not equivalent to || and &&. For instance, they have super low operator precedence:

  my $variable = 0 or 1;
Would result in $variable == 0 because it really looks like this:

  (my $variable = 0) or 1;
I allowed myself to get burned by this once because I didn't read the fine print. ^^;;

There are no comments on this comment yet.