in reply to Re: Re: dumb question
in thread post-increment and post-decrement behavior (was: dumb question)
The same can be said of the -- unary operator.print $a++; #prints $a and then increments $a (hence prints 0) print ++$a; #increment $a and THEN print $a (hence prints 1)
update:hv++ for answering what was meant (and well, I answered the wrong question)
-enlil
|
|---|