in reply to Malloc with Inline::C

I would suggest two ways: Also, it is possible that there is a GMP module for Perl.

Alberto Simões