in reply to Re^4: Pre vs Post Incrementing variables
in thread Pre vs Post Incrementing variables
Mind you, it might make explaining this one a tad awkward :)
$i = 0; print ++${\++$i}, 0+ ++$i, 0+ ++$i, ++${\++$i};; 6 3 4 6
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Pre vs Post Incrementing variables
by repellent (Priest) on Sep 13, 2010 at 04:20 UTC | |
by BrowserUk (Patriarch) on Sep 13, 2010 at 05:20 UTC | |
by repellent (Priest) on Sep 13, 2010 at 06:09 UTC | |
by BrowserUk (Patriarch) on Sep 13, 2010 at 06:23 UTC |