in reply to Re: Reading from a Named Pipe
in thread Reading from a Named Pipe

The reason I've done the "open" with the anonymous pipe is to enable the parent to get output from the child.
The crux here is that the read from the named pipe my $this_line = <FIFO> could potential block indefinitely. That is why it is nessary (AFAIK) to fork (create the child) and have a timeout which kills the child if it does not manage to read from the pipe.