in reply to Re^2: Mixing OR with conditional operator
in thread Mixing OR with conditional operator

> One can never truly know perl

This problem is not Perl specific, you need to respect precedence in all languages.*

Just try to do the same expression in JS or C ...

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

update

*) correction, most not all. You might enjoy Lisp or Assembler.

  • Comment on Re^3: Mixing OR with conditional operator