Help for this page
That way, $i can't be used outside the loop, and I consider that a goo +d thing.
But why are you using a loop over a fixed range instead of a loop from + 1 to $end anyway?