in reply to File output from end to beginning

There's also a module that does this (surprise :), File::ReadBackwards. From the synopsis:
use File::ReadBackwards; tie *BW, File::ReadBackwards, 'log_file' or die "can't read 'log_file' $!"; print while <BW>;

-- Hofmator

Replies are listed 'Best First'.
Re: File output from end to beginning
by FireBird34 (Pilgrim) on Jan 18, 2003 at 18:46 UTC
    Thanks all -- have it working =) Also, I tried that module (FILE::ReadBackwards), but the server (WinXP) doesn't have it installed, and supprisingly neither does my Linux box. Didn't want to put it on if it wasn't needed. Again, thanks =)