use Math::BigInt; $std1 = 67*34; $bigint1 = Math::BigInt->new($std1); print "std: $std1\nbigint: $bigint1\n";