No, I was not assuming anything.
for (my $i = 0; $i < $limit; ++$i)
is not equivalent to
for (0 .. $limit) { #... }
but rather
for (0 .. $limit-1) { #... }
In reply to Re^5: Quick easy question: What does $i mean?
by ikegami
in thread Quick easy question: What does $i mean?
by sicone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |