All, Can anybody tell me , how to pack binary array into string of 32 bit words adn print into hexa,
$word2 = pack ("C", @line1[32 .. 63]); But nothing happens here. Also I want to do it character by character packing $word1 = pack("C", $line1[316], $line1[318], $line1[320], $line1[322], $line1[324], $line1[326],$line1[328],$line1[330],$line1[332], $l ine1[334],$line1[336],$line1[338],$line1[340],$line1[342],$line1[344],$line1[346],$line1[348],$line1[350], $line1[352],$line1[354],$line1 [356],$line1[338],$line1[338],$line1[338],$line1[338],$line1[338],$line1[338],$line1[338]); Something like above. I intend to get back 32 strings, which I can print in Hexa. Thanks Nagendra -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>