in reply to Re: comparison of character
in thread comparison of character

No. According to perlop, eq has a higher precedence than || and or, so, in this case, either one will do the same thing.

I tend to use || for logical tests (X || Y) and or for flow control (STMT or die...).

Update: clarified word choice a bit.

--MidLifeXis

Replies are listed 'Best First'.
Re^3: comparison of character
by Anonymous Monk on Jul 16, 2013 at 13:37 UTC