David Muir Sharnoff > File-BasicFlock-98.1202 > File::BasicFlock

Download:
modules/File-BasicFlock-98.1202.tar.gz

Dependencies

Annotate this POD

Related Modules

File::Flock
Apache::Registry
more...
By perlmonks.org
View/Report Bugs
Module Version: 98.1202   Source  

NAME ^

 File::BasicFlock - file locking with flock

SYNOPSIS ^

 use File::BasicFlock;

 lock($filename);

 lock($filename, 'shared');

 lock($filename, undef, 'nonblocking');

 lock($filename, 'shared', 'nonblocking');

 unlock($filename);

DESCRIPTION ^

Lock files using the flock() call. The file to be locked must already exist. This is a very thing interface.

AUTHOR ^

David Muir Sharnoff, <muir@idiom.com>

syntax highlighting: