M
MaggotChild
perl -MMath:ari -e'$a=PARI 2;print $a**10000'
#Big number...
Math::BigInt::Calc at -e line 1
What gives?
As an aside, is it possible to import GMP or Pari from the command
line? -M doesn't play nice with a string of import args:
But:
Can't continue after import errors at -e line 0
BEGIN failed--compilation aborted.
#Big number...
#Same Big Number...perl -MMath::GMP -e'print Math::GMP->new(2) ** 1000'
Math::BigInt: couldn't load specified math lib(s), fallback toperl -e'use Math::BigInt lib => "GMP,Pari";'
Math::BigInt::Calc at -e line 1
What gives?
As an aside, is it possible to import GMP or Pari from the command
line? -M doesn't play nice with a string of import args:
#OK, can't load module errorperl -MMath::BigInt='lib,Pari' -e'1'
But:
"Pari"" is not exported by the Math::BigInt moduleperl -MMath::BigInt='lib,"GMP,Pari"' -e'1'
Can't continue after import errors at -e line 0
BEGIN failed--compilation aborted.