in reply to Re: Character++
in thread Character++
But to decrement:
Not sure why they decided not to implement -- on chars. (Thanks to Dog and Pony and Zaxo for pointing me to page 354 in Programming Perl for that.)my $ctr = 'a'; $ctr = chr( ord($ctr) - 1);
()-() \"/ `
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Character++
by clintp (Curate) on Sep 07, 2002 at 23:48 UTC | |
by ignatz (Vicar) on Sep 08, 2002 at 00:03 UTC | |
Re: Re: Re: Character++
by belg4mit (Prior) on Sep 07, 2002 at 23:14 UTC |
In Section
Seekers of Perl Wisdom