No such thing as a small change | |
PerlMonks |
Re: || vs orby mickeyn (Priest) |
on May 16, 2007 at 06:51 UTC ( [id://615703]=note: print w/replies, xml ) | Need Help?? |
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
|
|