in reply to Perl & modulus
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl & modulus
by Anonymous Monk on May 17, 2011 at 17:35 UTC |