Don't ask to ask, just ask | |
PerlMonks |
Re: No Change in Pre- or Post-Increment Varableby Old_Gray_Bear (Bishop) |
on Dec 21, 2015 at 22:23 UTC ( [id://1150904]=note: print w/replies, xml ) | Need Help?? |
I rather doubt that there is a bug in the Perl code that handles $variable++, so lets look at what happens to your variable in your code that you posted.
By the way, you do know that when '99999' is reached, the next value you will get for the increment is '100000' not '00000'.
---- OGB
In Section
Seekers of Perl Wisdom
|
|