Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re2: Mysterious Disapperance of file contents

by bbfu (Curate)
on Aug 29, 2003 at 05:02 UTC ( [id://287589]=note: print w/replies, xml ) Need Help??


in reply to Re: Mysterious Disapperance of file contents
in thread Mysterious Disapperance of file contents

Because you opened the semaphore file for writing, but haven't yet written to it, it's just been erased.

Except that he's never (in the shown code, anyway) writing to the semaphore file. He's using a separate, presumably always-empty, file as the semaphore and is always opening the counter file in read or append... except possibly in writedata.

bbfu
Black flowers blossom
Fearless on my breath

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-24 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found