Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Is it always necessary to lock a text file?

by Anonymous Monk
on Dec 18, 2000 at 21:38 UTC ( [id://47218]=note: print w/replies, xml ) Need Help??


in reply to Is it always necessary to lock a text file?

Locking the file is not necessary when reading only, and when writing only if there is a possibility of more than one write happening simultaneously (as in the case of a cgi script or multi-user environment) If you are the only person using your script, or if it is a standalone script that only runs on one machine, locking is not necessary.
  • Comment on Re: Is it always necessary to lock a text file?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-18 02:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found