Think about Loose Coupling | |
PerlMonks |
Re: How to do atomic file locking?by mlawren (Sexton) |
on Aug 26, 2015 at 19:05 UTC ( [id://1140102]=note: print w/replies, xml ) | Need Help?? |
An alternative to file locking is socket locking. You might find some inspiration in the source of my Lock::Socket module. Basically, a process cannot bind an already bound socket.
In Section
Seekers of Perl Wisdom
|
|