RE: perl 'advancing' variable facility..

2005-05-25 Thread Thomas Bätzler
Vineet Pande <[EMAIL PROTECTED]> asked: > I don't understand the way perl 'advances' the variables > along the range a-z, A-Z, and 0-9. This is described in the perlop manpage: [...] The auto-increment operator has a little extra builtin magic to it. If you increment a variable that is numeric,

Re: perl 'advancing' variable facility..

2005-05-25 Thread Paul Johnson
On Wed, May 25, 2005 at 10:27:11AM +, Vineet Pande wrote: > Hi: > I don't understand the way perl 'advances' the variables along the range > a-z, A-Z, and 0-9. > For example from a book > > $a = "A9"; print ++$a, "\n"; > > gives B0 as expected, > > but, > $a = "Zz"; print ++$a, "\n"; > >