That's what's happening.E:\>perl -MO=Deparse,-p -le"print for (1..10 or 1..11);" foreach $_ (((1 .. 10) or (1 .. 11))) { print($_); } -e syntax OK
In reply to Re: for loops and 'and'
by Anonymous Monk
in thread for loops and 'and'
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |