|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^4: Perl Parsing Based on Supplied Precedenceby protist (Scribe) |
| on Nov 07, 2012 at 11:49 UTC ( #1002661=note: print w/ replies, xml ) | Need Help?? |
|
"&&" and "and" have differing precedences. "and" is lower precedence than "&&". The same goes for "||" and "or"; "or" has lower precedence than "||". "and" actually has lower precedence than "||", as I will demonstrate. code with "&&":
output:
code with "and":
(outputs nothing)
In Section
Cool Uses for Perl
|
|
||||||||||||||||||||||||