file locking
Michael S.
mjs at beebo.org
Sun Jan 20 19:21:21 CST 2002
On Mon, 2002-01-21 at 11:47, Paul Fenwick wrote:
> If you're using a regular filesystem, then the usual method
> of file-locking is using Perl's inbuilt "flock" function
> ("perldoc -f flock" for details):
There are also at least two modules, File::Flock and LockFile::Simple.
LockFile::Simple is more complicated. Storable (recent versions
thereof) also locking versions of store and retrieve, which are bloody
handy.
Michael
--
http://beebo.org
More information about the Melbourne-pm
mailing list