|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^4: Pre vs Post Incrementing variablesby JavaFan (Canon) |
| on Sep 13, 2010 at 08:55 UTC ( [id://859955]=note: print w/replies, xml ) | Need Help?? |
|
The fact that f( ++$n, ++$n ) passes an alias to $n, rather than the value resulting from the preincrement, is just another broken behaviour.Note that this behaviour isn't unique to ++.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||