> snip > > Unless you really need to read it backwards, I would suggest saving > the point you stopped processing by calling tell() on the filehandle > and saving the number given to you to a config file and then, on the > next run of program, reading the number and calling seek() on the > filehandle to return that position and resuming processing.
Hi chas , Thanks for your suggestions.. but i need to read a file from backwards... First time reading from backwards & set the last line position to one variable..next time reading backwards until reach that variable position... is it possible to achieve that..???? Thanks, Siva