in reply to Convert hex string from little endian to decimal

See the "Perl pack() and unpack() Tutorial" to get a basic understanding of how pack and unpack work.

$ perl -le 'my $h = "5840b200"; print unpack "I", pack "H*", $h' 11681880

-- Ken

Replies are listed 'Best First'.
Re^2: Convert hex string from little endian to decimal
by Anonymous Monk on Apr 15, 2014 at 05:09 UTC
    That worked.