in reply to
Prefix and postfix increment/decrement operator query
The short answer is the behaviour is undefined. For a lengthy discussion see
Auto Increment "magic" Inquiry
.
Comment on
Re: Prefix and postfix increment/decrement operator query
In Section
Seekers of Perl Wisdom