p5-File-Flock - File::Flock - file locking with flock

Property Value
Distribution NetBSD 8.1
Repository NetBSD amd64
Package filename p5-File-Flock-2014.01nb3.tgz
Package name p5-File-Flock
Package version 2014.01nb3
Package release -
Package architecture amd64
Package type tgz
Category devel perl5
Homepage https://cpan.metacpan.org/authors/id/M/MU/MUIR/modules/
License gnu-gpl-v2 OR artistic
Maintainer -
Download size 11.81 KB
Installed size 33.03 KB
Lock files using the flock() call. If the file to be locked does not exist,
then the file is created. If the file was created then it will be removed
when it is unlocked assuming it's still an empty file.
Locks can be created by new'ing a File::Flock object. Such locks are
automatically removed when the object goes out of scope. The unlock()
method may also be used.
lock_rename() is used to tell File::Flock when a file has been renamed (and
thus the internal locking data that is stored based on the filename should
be moved to a new name). unlock() the new name rather than the original
Locks are released on process exit when the process that created the lock
exits. Subprocesses that exit do not remove locks. Use forget_locks() or
POSIX::_exit() to prevent unlocking on process exit.


Package Version Architecture Repository
p5-File-Flock-2014.01nb3.tgz 2014.01nb3 i386 NetBSD
p5-File-Flock - - -


Name Value
perl >= 5.30.0 < 5.32.0


Type URL
Mirror ftp.netbsd.org
Binary Package p5-File-Flock-2014.01nb3.tgz
Source Package p5-File-Flock

Install Howto

Install p5-File-Flock tgz package:

# pkg_add p5-File-Flock

See Also

Package Description
p5-File-FlockDir-1.02nb13.tgz FlockDir - override perl flock() for network or portability purposes
p5-File-HomeDir-1.004nb2.tgz Get the home directory for yourself or other users
p5-File-Inplace-0.20nb6.tgz Perl module for in-place editing of files
p5-File-KeePass-2.03nb7.tgz Perl module interface to KeePass V1 and V2 database files
p5-File-LibMagic-1.16nb2.tgz Perlwrapper for libmagic
p5-File-Listing-6.04nb8.tgz Perl 5 module providing a directory parser
p5-File-MMagic-1.30nb5.tgz Perl5 module to guess file types
p5-File-MMagic-XS-0.09008nb5.tgz File Type With XS (a la mod_mime_magic)
p5-File-MimeInfo-0.29nb2.tgz Perl module for the freedesktop shared MIME database
p5-File-Modified-0.10nb4.tgz Perl module for checking intelligently if files have changed
p5-File-Mork-0.4nb4.tgz Module to read Mozilla URL history files
p5-File-NFSLock-1.29nb1.tgz NFS (or not) locking
p5-File-Next-1.18.tgz Perl 5 module providing a file-finding iterator
p5-File-Path-2.16nb1.tgz Perl5 module to create or remove directory trees
p5-File-Path-Expand-1.02nb11.tgz Perl 5 module to expand filenames