Why do i get two different values for $a++ and $a+1?

   use strict;
   my $a = $b = "AA";
   $a++;
   $b = $b + 1;

   print "\$a = $a\n\$b = $b\n";

Output: $a = AB
        $b = 1


Thanks!

Lalith





_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to