P is for Practical | |
PerlMonks |
Re: How to get hexadecimal output in specific format?by Tux (Canon) |
on Jun 05, 2013 at 05:41 UTC ( [id://1037130]=note: print w/replies, xml ) | Need Help?? |
my $hex = sprintf "%08X", $dec;
It is all in the docs
Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
|
|