in reply to How to get hexadecimal output in specific format?
my $hex = sprintf "%08X", $dec;
Enjoy, Have FUN! H.Merijn
It is all in the docs
$ perldoc -f sprintf : %X like %x, but using upper-case letters : 0 use zeros, not spaces, to right-justify
Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom