in reply to Re: hex to binin thread hex to bin
sub bin2dec { unpack("N", pack("B32", substr("0" x 32 . shift, -32))); } [download]