Math::Int64::die_on_overflow - catch overflows when using Math::Int64
use Math::Int64 qw(uint64); use Math::Int64::die_on_overflow; my $number = uint64(2**32); say($number * $number); # overflow error!
Math::Int64.
To install Math::Int64, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::Int64
CPAN shell
perl -MCPAN -e shell install Math::Int64
For more information on module installation, please visit the detailed CPAN module installation guide.