Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Unable to find this thread named: Performing a tail(1) in Perl (reading the last N lines of a file)

by dpraba3 (Initiate)
on Jul 17, 2008 at 23:27 UTC ( #698471=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://698471]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2017-07-27 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (403 votes). Check out past polls.