in reply to || vs or
'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