http://www.perlmonks.org?node_id=648325


in reply to Perl wait vs Unix ksh wait

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 } );