On Tue, Feb 18, 2003 at 10:24:39PM +0100, Detlef Lindenthal wrote:
> How can I read and process 60 MB of text,
> line by line, but from the end to the beginning
> (last line first). -- I tried thinking of doing this
> by means of the Unix system statement "tail",
> but instead of returning one single line "tail"
> would return all the rest of the file. --

Use File::ReadBackwards.

http://search.cpan.org/author/URI/File-ReadBackwards-0.99/ReadBackwards.pm

Ronald

Reply via email to