Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 examining the Monastery: (6)
As of 2014-11-23 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls