The $i variable will cycle on 0, 1, 2, 3, 4, 0, 1, 2 ...my $i = 0; # ... somewhere in the code: $i = $i < 4 ? $i + 1 : 0;
In reply to Re: "Round Robin" variable range?
by Laurent_R
in thread "Round Robin" variable range?
by Salamihawk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |