reading variable and fixed length records
From: bof (nothingread_at_hotmail.com)
Date: 05/31/04
- Next message: Walter Roberson: "Re: reading variable and fixed length records"
- Previous message: Uri Guttman: "Re: Beginner needs help with script :)"
- Next in thread: Walter Roberson: "Re: reading variable and fixed length records"
- Reply: Walter Roberson: "Re: reading variable and fixed length records"
- Reply: Gunnar Hjalmarsson: "Re: reading variable and fixed length records"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 May 2004 17:33:21 +0100
I'm trying to read a file with records of the form:
[byteA][byteB]...[byteN][0][byte1][byte2][byte3]
i.e. an initial variable length part; a zero marker; then a fixed number
of bytes; with no delimiter between the records.
Any pointers for a Perl noob on how to achieve this ?
MTIA
-- bof at bof dot me dot uk
- Next message: Walter Roberson: "Re: reading variable and fixed length records"
- Previous message: Uri Guttman: "Re: Beginner needs help with script :)"
- Next in thread: Walter Roberson: "Re: reading variable and fixed length records"
- Reply: Walter Roberson: "Re: reading variable and fixed length records"
- Reply: Gunnar Hjalmarsson: "Re: reading variable and fixed length records"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]