Subject: | Math::BigRat -> bint() gives warning |
$ perl -MMath::BigRat -wle 'print Math::BigRat -> new("22/7") -> bint()'
Use of uninitialized value in string eq at /usr/lib/perl5/5.14/Math/BigFloat.pm line 3452.
22/7
The bint() method should either not be supported or it should work properly. I suspect this is yet another bug caused by Math::BigRat being a subclass of Math::BigFloat and inherinting methods from its parent class.
Both Math::BigInt, Math::BigFloat, and Math::BigRat ought to be a subclass of a common, virtual parent class -- like, e.g., IO::Handle is for the various IO handle subclasses.