you fork, and get a different pipe (there will be a pipe for each child).my $pid = open(my $child, "-|") // die "Fork failed: $!";
You might want to look in the "Safe Pipe Opens" section of the perlipc manual page for example code, and a description on how to open a pipe between a parent and a child.
In reply to Re^3: Forking Problem
by JavaFan
in thread Forking Problem
by smithgw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |