in reply to To || or not to or and why.
Abigail-II and dws have valid points you should take to heart, but don't answer your original question which is about the difference between or and ||. The difference is in precedence, || has higher precedence than or. This can be found in the perlop manpage.
Note: especially keep in mind the relative precende of or and || with respect to assignment.
Just my 2 cents, -gjb-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: To || or not to or and why.
by flounder99 (Friar) on Sep 16, 2003 at 12:08 UTC | |
by krisahoch (Deacon) on Sep 16, 2003 at 16:09 UTC | |
by flounder99 (Friar) on Sep 17, 2003 at 20:54 UTC |