|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Math::BigInt newby QM (Priest) |
| on Sep 27, 2012 at 15:25 UTC ( #996030=perlquestion: print w/ replies, xml ) | 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. -QM
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||