Assuming the file isn't some known standard which is discovered by interrogating the header (ala unix 'file <myfile>') you will need to understand the format of the file before we can help defined an unpack template.
Any ideas where to start? Generally I try and determine record size and delimiter first. Are they fixed length records? newline or null delimited? CSV ?? more input. Cheers. David On Tue, 26 Oct 2004 22:35:59 -0400, Jim <[EMAIL PROTECTED]> wrote: > Hi > I have a binary file that I have been tasked to discover the format of and > somehow convert the records to readable text. Is there any way I can find > out what binary format the file is in, so I can create an template for > unpack() to convert the binary to text? > > Thanks > Jim > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.772 / Virus Database: 519 - Release Date: 10/1/2004 > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>