update Sat Jun 12 18:37:00 PDT 2010
[pkgsrc.git] / devel / p5-File-FlockDir / DESCR
1 A flock module for Windows9x and other systems lacking
2 a good perl flock() function (not platform specific)
3
4 Rationale: flock on Win95/98 is badly broken but
5 perl code needs to be portable. In addition, sometimes code written
6 to use flock() on one workstation needs to be ported to running on
7 several networked servers and clients. One way to allow this is
8 to override perl's open(), flock(), and close(). We then get an
9 absolute file specification for all opened files and and use it in
10 a hash to create a unique lock for the file using the File::LockDir
11 module from the "Perl Cookbook", by Christiansen and Torkington
12 (O'Reilly, 1998). This module may be included in the CPAN
13 distribution but belongs to those authors. New code has been
14 kept to a minimum.