FcntlLock is a module to do file locking in an object oriented fashion using the fcntl(2) system call. This allows locks on parts of a file as well as on the whole file and overcomes some known problems with flock(2), on which Perls flock() function is based pe default.
PORTABILITY
To use the module the system must supports the fcntl() system call which probably will restrict its use to POSIX compliant systems.
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
The module requires the following other modules:
POSIX, Errno, Carp, Exporter, DynaLoader
To install the module a C compiler must be available and the system must support the use of shared libraries (or DLLs).
ACKNOWLEDGMENTS
Thanks to Mark Jason Dominus (MJD) and Benjamin Goldberg (GOLDBB) for helpful discussions, code examples and encouragement. Glenn Herteg pointed out several problems and also helped improve the documentation.
AUTHOR
Jens Thoms Toerring <jt@toerring.de>
COPYRIGHT AND LICENCE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright (C) 2002-2007 Jens Thoms Toerring <jt@toerring.de>