in reply to Re^2: increment a hex number
in thread increment a hex number
ideas?Yes. I think it's time you showed us the code you are running, the output you are getting and the output you expect.
Try to look at this from our perspective: you are asking us how to add two numbers together. Why doesn't this work for you?
See also:use strict; use warnings; my $n = 0x30000; $n += 0x10000;
|
|---|