in reply to Re: Range operator anomaly
in thread Range operator anomaly

As for why it's going all of the way to 999999 in the case with single quotes, see the following sentence of perlop concerning the range .. operator

If the final value specified is not in the sequence that the magical increment would produce, the sequence goes until the next value would be longer than the final value specified.

Thank you. That was the missing piece of the puzzle for me. I have no recollection of ever having read that bit of the POD.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?