diff options
author | Nathan Trapuzzano <nbtrap@nbtrap.com> | 2013-07-23 20:34:16 -0400 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2013-07-24 17:16:56 +1000 |
commit | ea382fac4c7ef0699a2da1c76f8b50674618611b (patch) | |
tree | e2c5ab7cc83030df2c704eb88a69f715c74325b4 /dist | |
parent | 0daf6d09beaca77160cb8901e5f9ec1b050e88e8 (diff) | |
download | perl-ea382fac4c7ef0699a2da1c76f8b50674618611b.tar.gz |
Initialize BigInt's $MBI correctly with "use bigrat lib => '...'".
Diffstat (limited to 'dist')
-rw-r--r-- | dist/bignum/lib/bigrat.pm | 1 |
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; |