Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Re: (Ovid) Re: Writing to a file

by swngnmonk (Pilgrim)
on Aug 21, 2001 at 01:20 UTC ( [id://106379]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: (Ovid) Re: Writing to a file
in thread Writing to a file

Something in the back of my mind is scratching me and telling me there might be problems with using flock over NFS (I assume you're using NFS if all these workstations are writing to the same file?)

Another potential approach? how about saving files as:

localtime().hostname.extension?

That way, you can sort the files date/time order simply by doing an ls -l.

Note - this would assume that all the machines are synchronized to the same clock.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-03-28 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found