Erm . . . since you're already using the shell to do job control rather than doing fork/exec yourself and since you're not on Wintendo you have a perfectly good shell with job control built in already why not just have the shell do the wait for you?
system( qq{ command1 & command2 & command3 & wait } );
We're looking for a Perl and Database Developer for Corporate Investments Group.
In reply to Re: Perl wait vs Unix ksh wait
by Fletch
in thread Perl wait vs Unix ksh wait
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |