in reply to How to read the log rotated file

You could use File::ReadBackwards to read messages.1 until you reach the point where your previous scan ended. That way you only need to read the lines you need rather than the whole file.

Replies are listed 'Best First'.
Re^2: How to read the log rotated file
by kar_thik82 (Novice) on Mar 07, 2013 at 15:02 UTC

    Thanks for your help will the File::ReadBackwards takes the cursor position since i am using tell function to store the current position of the file