Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

( #33036=categorized answer: print w/ replies, xml ) Need Help??

Q&A > files > How do I copy out the last line written in a file? 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2015-07-28 09:48 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 (254 votes), past polls