summaryrefslogtreecommitdiff
path: root/devel/p5-Proc-Simple/pkg-descr
blob: 91d81eca5f06126f5f7f12bb331c7abff7743312 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
       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); });