Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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)
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 taking refuge in the Monastery: (9)
As of 2014-12-25 13:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls