in reply to Re^6: Getting different results with $var++ and $var += 1
in thread Getting different results with $var++ and $var += 1

I'm using Math::BigInt in this package

Which makes it a little easier to demonstrate how some of those NaN values might arise:
C:\>perl -MMath::BigInt -le "$x=Math::BigInt->new(123);$x += 'str';pri +nt $x" NaN
Cheers,
Rob