[This is fixed in Perl v5.32]
The range operator has some interesting features to do more numbers, and one of them looks like it has some unintended special cases.
A couple of months ago, Hauke D reported some strange behavior with the range operator. Some of this is likely to be clarified in the v5.30 documentation but the odd cases remain. One part of this is useful and the others are probably surprising. Don’t depend on this feature for anything that’s important. Even though it acts like this, the undesigned feature may disappear.
Continue reading “Surprising output for the descending range ’01’..’-1′”