Lines Matching defs:File
3 # File::NFSLock - bdpO - NFS compatible (safe) locking utility
21 # Please read the perldoc File::NFSLock
25 package File::NFSLock;
193 my $lock = new File::NFSLock {
350 my $lock = new File::NFSLock {
394 my $lock = new File::NFSLock ($lock_file,LOCK_EX,62,60);
491 File::NFSLock - perl module to do NFS (or not) locking
495 use File::NFSLock qw(uncache);
501 if (my $lock = new File::NFSLock {
509 ### my $lock = File::NFSLock->new($file,LOCK_EX|LOCK_NB,10,30*60);
516 ### my $fh = IO::File->open( $file, 'w' ) || die $!
529 die "I couldn't lock the file [$File::NFSLock::errstr]";
542 stat index). File::NFSLock was written to be light, generic,
548 Locking occurs by creating a File::NFSLock object. If the object
556 my $lock = File::NFSLock->new($file,
564 my $lock = File::NFSLock->new({
611 File::NFSLock will block up to the number of seconds specified in
678 On failure, a global variable, $File::NFSLock::errstr, should be set and should
683 By default File::NFSLock will use a lock file extenstion of ".NFSLock". This is
684 in a global variable $File::NFSLock::LOCK_EXTENSION that may be changed to
720 rpm -ta SOURCES/File-NFSLock-*.tar.gz
721 rpm -ih RPMS/noarch/perl-File-NFSLock-*.rpm
733 from which some key concepts for File::NFSLock were taken.