http://qs321.pair.com?node_id=615703


in reply to || vs or

the two operators have different precedence ...

'or' has lower precedence than ||, and it usually becomes an issue when comma is involved (lower precedence than ||, higher than 'or')

please read perldoc perlop.

Mickey