On Tue, Jul 28, 2015 at 02:16:47PM +0200, David Bundgaard wrote: > I would consider that Math::BigFloat to load Math::BigInt to be unexpected behavior and should not be endorsed. Unexpected behaviour? It's *documented* to work that way: From the Math::BigFloat documentation: Please note that Math::BigFloat does not use the denoted library itself, but it merely passes the lib argument to Math::BigInt. So, instead of the need to do: use Math::BigInt lib => 'GMP'; use Math::BigFloat; you can roll it all into one line: use Math::BigFloat lib => 'GMP'; It is also possible to just require Math::BigFloat: require Math::BigFloat; This will load the necessary things (like BigInt) when they are needed, and automatically. Now, we may all agree that this was unfortunate, and we even may agree the possible breakage is worth the change, but we shouldn't dismiss it with "well, it's unexpected behaviour and should not be endorsed". AbigailThread Previous | Thread Next