in reply to Re^2: why is my for loop using modulo giving me a weird output
in thread why is my for loop using modulo giving me a weird output
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... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: why is my for loop using modulo giving me a weird output
by perlynewby (Scribe) on Jun 28, 2015 at 08:22 UTC |