Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: flock issue

by turnstep (Parson)
on Mar 15, 2001 at 03:49 UTC ( [id://64562]=note: print w/replies, xml ) Need Help??


in reply to flock issue

You must open a file with write permission in order to secure an exclusive lock. Also, you should be checking the result of your open calls. You can use the read/write mode "+<" to open it for writing without clobbering anything that is there. Use seek to move about once you have opened it so.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-26 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found