|laziness, impatience, and hubris|
Math::BigInt newby QM (Vicar)
|on Sep 27, 2012 at 15:25 UTC||Need Help??|
QM has asked for the
wisdom of the Perl Monks concerning the following question:
Math::BigInt new does something funny when creating a new object from an existing Math::BigInt object:
From the debugger, this is what $y is:
Why is the class now '27'? And a print on $y gives:
While the 'value' is right, any further operations with $y are wrong.
Update: Bug reported here.