How to Install and Uninstall perl-Proc-Fork Package on openSUSE Leap
Last updated: November 07,2024
1. Install "perl-Proc-Fork" package
Please follow the steps below to install perl-Proc-Fork on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-Proc-Fork
Copied
2. Uninstall "perl-Proc-Fork" package
Please follow the instructions below to uninstall perl-Proc-Fork on openSUSE Leap:
$
sudo zypper remove
perl-Proc-Fork
Copied
3. Information about the perl-Proc-Fork package on openSUSE Leap
Information for package perl-Proc-Fork:
---------------------------------------
Repository : Main Repository
Name : perl-Proc-Fork
Version : 0.808-bp155.1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 33.2 KiB
Installed : No
Status : not installed
Source package : perl-Proc-Fork-0.808-bp155.1.4.src
Upstream URL : https://metacpan.org/release/Proc-Fork
Summary : Simple, intuitive interface to the fork() system call
Description :
This module provides an intuitive, Perl-ish way to write forking programs
by letting you use blocks to illustrate which code section executes in
which fork. The code for the parent, child, retry handler and error handler
are grouped together in a "fork block". The clauses may appear in any
order, but they must be consecutive (without any other statements in
between).
All four clauses need not be specified. If the retry clause is omitted,
only one fork will be attempted. If the error clause is omitted the program
will die with a simple message if it can't retry. If the parent or child
clause is omitted, the respective (parent or child) process will start
execution after the final clause. So if one or the other only has to do
some simple action, you need only specify that one. For example:
run_fork { child {
exec '/bin/ls', '-l';
die "Couldn't exec ls: $!\n";
} };
If the code in any of the clauses does not die or exit, it will continue
execution after the fork block.
---------------------------------------
Repository : Main Repository
Name : perl-Proc-Fork
Version : 0.808-bp155.1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 33.2 KiB
Installed : No
Status : not installed
Source package : perl-Proc-Fork-0.808-bp155.1.4.src
Upstream URL : https://metacpan.org/release/Proc-Fork
Summary : Simple, intuitive interface to the fork() system call
Description :
This module provides an intuitive, Perl-ish way to write forking programs
by letting you use blocks to illustrate which code section executes in
which fork. The code for the parent, child, retry handler and error handler
are grouped together in a "fork block". The clauses may appear in any
order, but they must be consecutive (without any other statements in
between).
All four clauses need not be specified. If the retry clause is omitted,
only one fork will be attempted. If the error clause is omitted the program
will die with a simple message if it can't retry. If the parent or child
clause is omitted, the respective (parent or child) process will start
execution after the final clause. So if one or the other only has to do
some simple action, you need only specify that one. For example:
run_fork { child {
exec '/bin/ls', '-l';
die "Couldn't exec ls: $!\n";
} };
If the code in any of the clauses does not die or exit, it will continue
execution after the fork block.