in reply to Re: My fifo wtf.
in thread My fifo wtf.

So how do you capture STDOUT from the child into perl?


Evan Carroll
I hack for the ladies.
www.EvanCarroll.com

Replies are listed 'Best First'.
Re^3: My fifo wtf.
by ikegami (Patriarch) on Dec 18, 2008 at 19:15 UTC
    open(my $from_child, '-|', "cat < foobar") or die $!; <$from_child>
    open2(my $from_child, $fifo, "cat") or die $!; <$from_child>