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