in reply to Re: Problems using pack
in thread Problems using pack

You are correct, they must be equal. I tried your code and it worked wonderfully. The error in what I did is that the long decimal numbers I was using must be in quotes otherwise, as tye said, they would be interrpeted as 1.101100011e12 which is not what I wanted. Sticking it in a variable such as $g and then using
$bob = pack("B*",$g);
does the trick. Thanks everyone for helping with this!