in reply to Re: dumb question
in thread post-increment and post-decrement behavior (was: dumb question)
In the above demo, whatever it is post --, or post ++, perl would initialied $a to 0, and this is what should happen to print $a-- and print $a++.$a --; # also try to coment this, and uncomment the next staement #$a ++; print $a; #either -1 or 1, depends on what you uncomment
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: dumb question
by jand (Friar) on Mar 16, 2003 at 05:58 UTC | |
by pg (Canon) on Mar 16, 2003 at 06:13 UTC | |
by jand (Friar) on Mar 16, 2003 at 06:30 UTC |