in reply to Re^2: Forking Problem
in thread Forking Problem
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.
|
|---|