Did you know that the increment operator (++) is magical when you pass it a string?
Try this:
--$a = 'a'; print $a++, "\n" for 1 .. 40;
Perl Training in the UK <http://www.iterative-software.com>
In reply to Re: Incrementing characters
by davorg
in thread Incrementing characters
by legLess
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |