Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Answer: How do I copy out the last line written in a file?

by merlyn (Sage)
on Sep 19, 2000 at 02:07 UTC ( #33036=categorized answer: print w/replies, xml ) Need Help??

Q&A > files > How do I copy out the last line written in a file? - Answer contributed by merlyn

And don't forget File::Tail, which can keep up with the file as it grows (of which this request is often a part).

  • Comment on Answer: How do I copy out the last line written in a file?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2016-12-09 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.