in reply to Re^4: Getting different results with $var++ and $var += 1
in thread Getting different results with $var++ and $var += 1
For example, it's that overloading that causes the above one liner to output 123 instead of Math::BigInt=HASH(0x210fe54)perl -MMath::BigInt -le 'print Math::BigInt->new(123)'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Getting different results with $var++ and $var += 1
by splicer (Novice) on Dec 04, 2008 at 00:23 UTC | |
by syphilis (Archbishop) on Dec 04, 2008 at 01:30 UTC |