> > I have a hex value from the registry: > > 0x4c4b40 > > I need to turn it into a normal decimal number. > > ?50? > > I'm assuming I would use a combination of pack and hex, but I flunked math > in high school. > Please help! > > Scottp
Well, try these two lines: $a = "0x4c4b40"; print hex($a) Should work (at least worked for me). Vitali Rogonski [EMAIL PROTECTED] _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
