http://www.perlmonks.org?node_id=1007257

shyam123 has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I have an integer say 66778899 which is the input from user.I want to use this value as hex that is 0x66778899 in my perl script.How to use that?Using sprintf,gives the direct hex value of that.I don't want that to happen.How to go abt it ? Any suggestions please.

thanks sham