http://qs321.pair.com?node_id=1007262


in reply to integer value to hex value

my $a = 66778899; $a = '0x'.$a; print $a; print hex $a;

I am not sure but hope this will work. can check it ones, might b ur looking for this !!