mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
54876f5f8b
Add WWW. PR: 69539 Submitted by: Cheng-Lung Sung <clsung@tiger2.net>
19 lines
597 B
Plaintext
19 lines
597 B
Plaintext
The Proc::Simple package provides objects that model real-
|
|
life processes from a user's point of view. A new process
|
|
object is created by
|
|
|
|
$myproc = Proc::Simple->new();
|
|
|
|
Either shell-like command lines or references to perl
|
|
subroutines can be specified for launching a process in
|
|
background. A 10-second sleep process, for example, can
|
|
be started via the shell as
|
|
|
|
$myproc->start("sleep 10");
|
|
|
|
or, as a perl subroutine, with
|
|
|
|
$myproc->start(sub { sleep(10); });
|
|
|
|
WWW: http://search.cpan.org/dist/Proc-Simple/
|