in reply to Re^2: Mixing OR with conditional operator
in thread Mixing OR with conditional operator
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!
*) correction, most not all. You might enjoy Lisp or Assembler.
|
|---|