in reply to Re: Range operator weirdness?
in thread Range operator weirdness?
The autoincrement of "9" results in "10", not "0".>> perl -le '$x = "1"; print ++$x for (1..9)' 2 3 4 5 6 7 8 9 10
/prakash
|
---|
In Section
Seekers of Perl Wisdom
in reply to Re: Range operator weirdness?
in thread Range operator weirdness?
The autoincrement of "9" results in "10", not "0".>> perl -le '$x = "1"; print ++$x for (1..9)' 2 3 4 5 6 7 8 9 10
/prakash
|
---|