summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorNathan Trapuzzano <nbtrap@nbtrap.com>2013-07-23 20:34:16 -0400
committerTony Cook <tony@develop-help.com>2013-07-24 17:16:56 +1000
commitea382fac4c7ef0699a2da1c76f8b50674618611b (patch)
treee2c5ab7cc83030df2c704eb88a69f715c74325b4 /dist
parent0daf6d09beaca77160cb8901e5f9ec1b050e88e8 (diff)
downloadperl-ea382fac4c7ef0699a2da1c76f8b50674618611b.tar.gz
Initialize BigInt's $MBI correctly with "use bigrat lib => '...'".
Diffstat (limited to 'dist')
-rw-r--r--dist/bignum/lib/bigrat.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/dist/bignum/lib/bigrat.pm b/dist/bignum/lib/bigrat.pm
index d413429e43..6f92874e7b 100644
--- a/dist/bignum/lib/bigrat.pm
+++ b/dist/bignum/lib/bigrat.pm
@@ -166,6 +166,7 @@ sub import
require Math::BigFloat;
Math::BigFloat->import( upgrade => 'Math::BigRat', ':constant' );
require Math::BigRat;
+ Math::BigRat->import( @import );
bigrat->accuracy($a) if defined $a;
bigrat->precision($p) if defined $p;