Ug. Those docs sum up my feelings exactly:
(Yes, this is the correct code. Look closely: the else clause belongs to the for loop, not the if statement.)
In reply to Re^3: Perl vs. Python for prime numbers
by BrowserUk
in thread Perl vs. Python for prime numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |