in reply to Lost in unpack hell
thanksmy $input = pack 'H*', "your binary input unpacked with 'H*'"; my ($messageType,$ProtoOrVer,$MsgLen,$MsgSeqNum,$ClOrdID,$OnBehalfOfCo +mpID,$rest) =unpack "A A n N N2 A*",$sourceMsg}; print ... print "expected output\n";
|
|---|