Help for this page
myprog1 & myprog2 & wait
my $pid1 = open(PIPE1, "myprog1|"); my $pid2 = open(PIPE2, "myprog2|"); ... my $output2 = <PIPE2>; # this works as well close PIPE1; # this fails! close PIPE2; # this fails as well!