Math::GMPq - perl interface to the GMP library's rational (mpq) functions.
