Dear Perl Monks,
I have a number, 654848, which is hex 9fe00. I'd like to use the "pack" function to produce what hoepfully will appear as "00 00 00 00 00 09 fe 00" when viewed in emacs with the "hexl-mode" turned on. In using "pack" I need to figure out how to fill with spaces ("\x20") before the actual hex representation of the 654848. Any suggestions?