|| and or (and, similarly, && and and) have the same semantics in principle, but the former has a higher precedence than the latter. eq has a higher precedence than either, so it doesn't make any difference which one you use there, but it can be important in other contexts.
Operator Precedence and Associativity has more, as does chapter 3 of Programming Perl.
In reply to Re^3: perl unpack and matching the unpacked data
by AppleFritter
in thread perl unpack and matching the unpacked data
by james28909
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |