Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Capture Contents AND Overwrite without Opening Twice?

by MidLifeXis (Monsignor)
on Oct 08, 2014 at 20:01 UTC ( [id://1103214]=note: print w/replies, xml ) Need Help??


in reply to Capture Contents AND Overwrite without Opening Twice?

Also watch for race conditions between the open and the truncate/write. You could end up with a mangled log file or a lost update.

--MidLifeXis

  • Comment on Re: Capture Contents AND Overwrite without Opening Twice?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1103214]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-19 05:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found