Problems? Is your data what you think it is? | |
PerlMonks |
Re: Illegal hexadecimal digit errorby tadman (Prior) |
on Jul 07, 2003 at 17:43 UTC ( [id://272038]=note: print w/replies, xml ) | Need Help?? |
Or even better, put it all in sprintf:
my $hex_num = sprintf("0x%x", $dec_num);
In Section
Seekers of Perl Wisdom
|
|