Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: For loop problem

by srawls (Friar)
on Jun 03, 2001 at 22:31 UTC ( #85349=note: print w/ replies, xml ) Need Help??


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


Comment on Re: For loop problem
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://85349]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2014-07-30 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (241 votes), past polls