Think about Loose Coupling  
PerlMonks 
Re: Predict Random Numbersby johannz (Hermit) 
on Mar 14, 2002 at 13:36 UTC ( #151666=note: print w/replies, xml )  Need Help?? 
<This did not run on my ActiveState Perl Install. I tried installing Math::BigInt and Math::BigRat via ppm, was only able to get Math::BigInt. And could not find the other modules, Math::BigInt::Pari or Math::BigInt::GMP.
Results for perl v: This is perl, v5.6.1 built for MSWin32x86multithread (with 1 registered patch, see perl V for more detail) So, do you have ppd files for these modules or did you just build them yourself. I am assuming that these involve xs code? Later... So, it looks like Math::BigInt::Pari is a perlonly module, but requires Math::Pari, which is a c module and not available through PPM. Math::BigInt::GMP is a c interface to another library and also is not available through PPM. And Math::BigRat requires Math::BigFloat, which is in a later version of Math::BigInt than is on PPM. So you have to get the latest Math::BigInt from CPAN, install it, install the latest Math::BigRat from CPAN, and then have a compiler so you can either install Math::BigInt::GMP, or the prerequisites for Math::BigInt::Pari. Even more later... So I installed Math::BigInt and Math::BigRat from CPAN. I did not install Math::BigInt::Pari or Math::BigInt::GMP but was able to run the code. It hasn't finished, but it is running. :) ps. I have a P3 500mhz, with 384M ram running Win2K. So we will see how it goes. Update: He's right about needing a fast Math::BigInt library, the perlonly versions are too slow. It's been about 2 hrs and no results yet.
In Section
Cool Uses for Perl

