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
In reply to Re: Convert hex string from little endian to decimal
by kcott
in thread Convert hex string from little endian to decimal
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |