bh_perl has asked for the wisdom of the Perl Monks concerning the following question:
hi
I got an error said " Integer overflow in hexadecimal number at /acec/nv2am/bin/nokscan line 294.".
The error message happened once i convert hex to int from hextoint function. The function as below. Could somebody help me how to solve to error ?
sub hextoint { my $hex = shift; return sprintf ("%20d", hex($hex)); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Integeer overflow in hexadecimal number
by ikegami (Patriarch) on Mar 11, 2009 at 06:02 UTC | |
|
Re: Integer overflow in hexadecimal number
by AnomalousMonk (Archbishop) on Mar 11, 2009 at 07:56 UTC |