http://qs321.pair.com?node_id=510462

0xbeef has asked for the wisdom of the Perl Monks concerning the following question:

I have encountered the following interesting problem. My original intention was to install Net::SSH::Perl using cpan. cpan will automatically download and attempt to install Math::Pari, but I seem to have to update all modules (e.g. /usr/lib/perl5/site_perl/5.8.6/Crypt/DH.pm) to use Pari instead of GMP manually:

use Math::BigInt lib => "GMP";

to

use Math::BigInt lib => "Pari";

Is there a more elegant way of switching to PARI than this?

0xbeef