Don't ask to ask, just ask | |
PerlMonks |
Re^10: All Calculations Done with One Variable Give Integer Answersby hdb (Monsignor) |
on Sep 24, 2013 at 06:43 UTC ( [id://1055448]=note: print w/replies, xml ) | Need Help?? |
In the test code you have posted IntTest.pm, if you change your constants 1900 and 60 to 1900.0 and 60.0, your problem is fixed as well. This is because use Math::BigInt ':constant'; only applies to integer constants. This could be one way to limit the scope.
In Section
Seekers of Perl Wisdom
|
|