in reply to Re^2: Reading binary file in perl having records of different length
in thread Reading binary file in perl having records of different length
Thank you so much, your improvements to my existing code were great and I am currently trying to modify the code as per your suggestions.
One thing I have to ensure is while I am reading the record and if it has a bad length, it will read in to the next possibly good record and send that to parsing subroutine and will also prevent me from processing the good record as the eye catcher might have probably been read by previous read command.
Will explore more ways and get back to you. Thanks again for great comments.