Skip Menu |

This queue is for tickets about the Math-BigRat CPAN distribution.

Report information
The Basics
Id: 103541
Status: resolved
Priority: 0/
Queue: Math-BigRat

People
Owner: Nobody in particular
Requestors: peter.john.acklam [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.260801



Subject: bdiv() doesn't work in list context
The documentation says that Math::BigRat->bdiv() should work like Math::BigInt->bdiv(), but the behavious doesn't match this. The following shows the current behaviour: $ perl -MMath::BigRat -wle 'print for Math::BigRat -> new("355") -> bdiv("113")' 355/113 This is the documented behaviour: $ perl -Ilib -MMath::BigRat -wle 'print for Math::BigRat -> new("355") -> bdiv("113")' 3 16 By the way, the comments in the code for bdiv() says "TODO: list context", so it seems that the author is aware of this.
Fixed in Math-BigRat-0.260801.