in reply to Re: Performing a tail(1) in Perl (reading the last N lines of a file)
in thread Performing a tail(1) in Perl (reading the last N lines of a file)

I'm not able to find this thread -the Perl Power Tools version of tail(1).Could some one please repost it?I want to find how to print last n lines in the most efficient way. I should not read entire file to print the last n lines.
  • Comment on Unable to find this thread named: Performing a tail(1) in Perl (reading the last N lines of a file)

Replies are listed 'Best First'.
Re: Unable to find this thread named: Performing a tail(1) in Perl (reading the last N lines of a file)
by Corion (Pope) on Jul 18, 2008 at 06:04 UTC

    CPAN has it: tail in the ppt distribution. Also, a simple Google search for perl tail will also bring you to CPAN. Do some work yourself.