http://www.perlmonks.org?node_id=398065


in reply to RE: for loops
in thread for loops

Because the value of $j has no bearing on the test expression, it doesn't belong in the initial and change expressions of the for statement. As such, they should be included in the set of code executed by the loop.

- apotheon
CopyWrite Chad Perrin