Re: [Perl-unix-users] binary to ascii

2002-08-21 Thread $Bill Luebkert
Pragneshkumar Gandhi wrote: > Hi All Perl Guru > Is there any thing in perl to convert binary file to ascii open the file and then binmode the file handle. Then use unpack to to unpack the binary data into vrbls. Make sure you take into consideration the byte order of the data (little-endian or

[Perl-unix-users] binary to ascii

2002-08-21 Thread Pragneshkumar Gandhi
Hi All Perl Guru Is there any thing in perl to convert binary file to ascii the file conatins following in binary format HEADER Transaction Codeshort 2 Bytes Timestamp long4 Bytes Message Length short 2 Bytes