$ perl -e '$c=3000000000000011|0;print "$c\n"' 4294967295 #### use Math::BigInt $c = Math::BigInt->new('3000000000000011'); print "$c\n";