in reply to Re: How to read number of block in binary files?
in thread How to read number of block in binary files?
Thanks for your info..
Yes.. you are right.. I am assuming the numbers of bytes is always BLOCKLEN or 890 bytes.
But, I am plan to reverse the offset values about 286 bytes back before read the next record. This is because if the block contain 2 record the length is 604 while 3 record is 890 bytes. So that why i set $offset -= 286. is it correct ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to read number of block in binary files?
by jwkrahn (Abbot) on Mar 09, 2009 at 07:17 UTC | |
by bh_perl (Monk) on Mar 10, 2009 at 02:31 UTC | |
by jwkrahn (Abbot) on Mar 10, 2009 at 10:24 UTC |