Re: autoincrement and autodecrement

2002-10-08 Thread Michael Kelly
On Tue, Oct 08, 2002 at 10:00:09AM -0700, Anil Shekhar wrote: > Thanks Mark. > > I mean how is the following possible. > > print ++($foo = 'Az'); # prints 'Ba' > print ++($foo = 'zz'); # prints 'aaa' (I'm obviously not Mark, but I figure I'll give this a shot) That's how the

RE: autoincrement and autodecrement

2002-10-08 Thread Timothy Johnson
ing, preserving each character within its range, with carry:" -Original Message- From: nkuipers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 10:17 AM To: [EMAIL PROTECTED] Subject: RE: autoincrement and autodecrement That's still not terribly specific. Actually the

RE: autoincrement and autodecrement

2002-10-08 Thread nkuipers
nts 'Ba' >print ++($foo = 'zz'); # prints 'aaa' > >Thanks >Anil > >- Original Message - >From: "Mark Anderson" <[EMAIL PROTECTED]> >To: "Anil Shekhar" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >S

Re: autoincrement and autodecrement

2002-10-08 Thread Anil Shekhar
t;Anil Shekhar" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 08, 2002 9:56 AM Subject: RE: autoincrement and autodecrement > "Can someone help me please?" > > Can you be more specific about what you don't understand? > > I

RE: autoincrement and autodecrement

2002-10-08 Thread Mark Anderson
f ++ on strings. /\/\ark -Original Message- From: Anil Shekhar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 9:48 AM To: [EMAIL PROTECTED] Subject: autoincrement and autodecrement Hi ... I am trying to understand the auto-incr/

autoincrement and autodecrement

2002-10-08 Thread Anil Shekhar
Hi ... I am trying to understand the auto-incr/decr out of the 'perlop' man page. I could not fully understand the following. "If, however, the variable has been used in only string contexts since it was set, and has a value that is not the empty string and matches the pattern /^[a-zA-Z]*[0-9]