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
In Section
Seekers of Perl Wisdom