Hi,
Does anyone know how to get the alpha-numeric numbering scheme in perl ?
For example the
numberic => 0,1,2,...9,10,11,12,...99,100,... # $x = 0;$x++;
lower-alpha => a,b,c,...z,aa,ab,ac,...zz,aaa,... # $x = "a";$x++;
upper-alpha => A,B,C,..,Z,AA,AB,AC,...ZZ,AAA,... # $x = "A";$x++;
lower-alpha-num => a,b,c,...z,0,1,2,3,...9,aa,ab,ac,...zz,10,11,12,.. .99,aaa,... # ?
upper-alpha-num => A,B,C,..,Z,0,1,2,3,...9,AA,AB,AC,...ZZ,10,11,12,.. .99,AAA,... # ?
cvv3 at yahoo dot com
numberic is easy
lower-alpha should also be easy
upper-alpha should also be easy
lower/upper-alpha-num may require an embedded loop as perl has no built in range for something like that but maybe someone else knows of a simple (or not so simple) method to get exotic ranges like those. There could also be a module(s) listed on CPAN.
how to use CPAN in perl...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks