in reply to How to call two programs simultaneously from a running program
use threads; use threads::shared; ... my $Bresults:shared; async { $Bresults = `perl B.pl`; }->detach; my $Cresults = `perl C.pl`; ## Do something with the results;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to call two programs simultaneously from a running program
by ccmbvipin (Initiate) on Sep 19, 2008 at 04:35 UTC | |
by BrowserUk (Patriarch) on Sep 19, 2008 at 08:28 UTC |