Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 examining the Monastery: (20)
As of 2015-07-07 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls