File::BasicFlock - file locking with flock


File-BasicFlock documentation  | view source Contained in the File-BasicFlock distribution.

Index


NAME

Top

 File::BasicFlock - file locking with flock

SYNOPSIS

Top

 use File::BasicFlock;

 lock($filename);

 lock($filename, 'shared');

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

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

 unlock($filename);

DESCRIPTION

Top

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

AUTHOR

Top

David Muir Sharnoff, <muir@idiom.com>


File-BasicFlock documentation  | view source Contained in the File-BasicFlock distribution.