I am trying to perform a loop, it counts from 0 to $i, and it should do something every $x times, while still looping. Modulus is what I needed.
I just didn't know it was the solution to both of my questions :)
Detonite
In reply to Re: Perl & modulus
by jkva
in thread Perl & modulus
by jkva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |