Please read Corion again!
Is there difference between printing, what modulo operator returns and using it to test?
i.e
Is there a difference?print 4%2; # or if (4%2 == 0) { # blah..blah... }
In reply to Re^3: why is my for loop using modulo giving me a weird output
by 2teez
in thread why is my for loop using modulo giving me a weird output
by perlynewby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |