|
|
| No such thing as a small change | |
| PerlMonks |
Re: Range operator weirdness?by Ido (Hermit) |
| on Feb 28, 2002 at 15:38 UTC ( #148244=note: print w/ replies, xml ) | Need Help?? |
|
The range operator (in list context) makes use of the magical auto-increment algorithm if the operands are strings. So the one character '1' is increased in its range. form perlop about Auto-Increment's magic: ...the increment is done as a string, preserving each character within its range...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||