G
George
A test I'm running generates 'implicit' hex values. So, "123", not
"0x123". For negative values, it just uses (eg) "-123". I would like
to sum a set of these on the command line; eg: ' sum.pl 12 34 -10 '
For non-negative values, 'hex()' does what I want. But, it ignores the
'-xx' values. Is there a way to read numbers in this format as
(negative) hex values?
Thank you,
George
"0x123". For negative values, it just uses (eg) "-123". I would like
to sum a set of these on the command line; eg: ' sum.pl 12 34 -10 '
For non-negative values, 'hex()' does what I want. But, it ignores the
'-xx' values. Is there a way to read numbers in this format as
(negative) hex values?
Thank you,
George