How to Install and Uninstall perl-File-Flock Package on openSuSE Tumbleweed

Last updated: December 25,2024

1. Install "perl-File-Flock" package

This guide covers the steps necessary to install perl-File-Flock on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-File-Flock

2. Uninstall "perl-File-Flock" package

This guide covers the steps necessary to uninstall perl-File-Flock on openSuSE Tumbleweed:

$ sudo zypper remove perl-File-Flock

3. Information about the perl-File-Flock package on openSuSE Tumbleweed

Information for package perl-File-Flock:
----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-File-Flock
Version : 2014.01-1.25
Arch : noarch
Vendor : openSUSE
Installed Size : 30.2 KiB
Installed : No
Status : not installed
Source package : perl-File-Flock-2014.01-1.25.src
Upstream URL : http://search.cpan.org/dist/File-Flock/
Summary : File Locking with Flock
Description :
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 name.
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.