perl -MMath::GMPz=":mpz" -wle "print Rmpz_get_str(Math::GMPz->new(54), 13)" #### perl -MMath::GMP=":constant" -wle "print Math::GMP::get_str_gmp(54, 13)"