in reply to Re^2: How to call two programs simultaneously from a running program
in thread 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`; sleep 1 until defined $Bresults; my $Dresults = `perl D.pl $Bresults $Cresults`;

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^3: How to call two programs simultaneously from a running program
  • Download Code