Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Range operator weirdness?

by PrakashK (Pilgrim)
on Feb 28, 2002 at 15:51 UTC ( #148253=note: print w/replies, xml ) Need Help??


in reply to Re: Range operator weirdness?
in thread Range operator weirdness?

>> perl -le '$x = "1"; print ++$x for (1..9)' 2 3 4 5 6 7 8 9 10
The autoincrement of "9" results in "10", not "0".

/prakash

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://148253]
help
Chatterbox?
[james28909]: it is this node node_id=1190960
[james28909]: excuse me id=1190960
[james28909]: what am i doing worng...
[james28909]: i do not have fun with this chat box :(

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2017-05-24 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?