I'm wondering why || doesn't cause a precedence problem here?
Because the || operator has lower precedence than the comparison operators like <=> for example. See perlop.
In reply to Re^3: sorting array of hashes using multiple keys conditionally
by jwkrahn
in thread sorting array of hashes using multiple keys conditionally
by mabman2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |