Math::GMP is a perl interface to the high-speed arbitrary size integer math library libgmp (GNU MP lib). WWW: http://search.cpan.org/dist/Math-GMP/