> I was wondering if anyone knew how to increment a variable when the variable > is a letter. For example > > $x="A"; > $x++;
jep@delta:/ > perl $x = 'A'; print ++$x . "\n"; B jep@delta:/ > Seems to work for me :) Remember the difference between preincrement and postincrement, and what happens when you get to Z. Jonathan Paton __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]