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 ?
In reply to Re^2: How to read number of block in binary files?
by bh_perl
in thread How to read number of block in binary files?
by bh_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |