Perl Range Operator with Letters and Numbers -



Perl Range Operator with Letters and Numbers -

is there way utilize perl's range operator .. utilize letters , numbers?

for example, have:

for $i ('x'..'9') { print "$i "; }

output x y z 1 2 3 4 5 6 7 8 9

not unless for $i ('x' .. 'z', 1 .. 9) counts. "z" never increment 1.

perl

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -