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


in reply to For loop problem

As an update to my post:

Even more baffaling is this:

for($.++...$.++.$.){print"$_\n"}
If you change the first ++ to be a postincrement instead of a preincrement, it prints 0 to 12, just what I would expect, but still not my desired 1 to 12.

More baffled than ever:
The 15 year old, freshman programmer,
Stephen Rawls