If I define a variable as a string
my $var = "a";

I can get the increment to work
print ++$var; --> prints b

but the decrement
print --$var --> prints -1

Why? and how can I decrement it?


Thanks,
-Nick
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to