Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-09-29 23:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (562 votes). Check out past polls.