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

Re: Re: File locking and Storable

by BazB (Priest)
on Apr 04, 2004 at 09:46 UTC ( #342445=note: print w/ replies, xml ) Need Help??


in reply to Re: File locking and Storable
in thread File locking and Storable

As I pointed out here, you shouldn't use LOCK_UN, just close the filehandle to the lockfile (in this case it's the data file too).

Also, you should check the return value of close calls.


If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
That way everyone learns.


Comment on Re: Re: File locking and Storable
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2014-12-19 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (85 votes), past polls