Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 chilling in the Monastery: (10)
As of 2014-11-28 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (199 votes), past polls