http://qs1969.pair.com?node_id=515621


in reply to Re: Pipes (for interprocess communication)
in thread Pipes (for interprocess communication)

Thanks

And the parent could also write to $writer with the child reading from $reader, right?
  • Comment on Re^2: Pipes (for interprocess communication)

Replies are listed 'Best First'.
Re^3: Pipes (for interprocess communication)
by robin (Chaplain) on Dec 09, 2005 at 18:54 UTC
    Right.

    Update: I should have been more specific. Unless you really know what you're doing, you should choose a direction (i.e. parent -> child or child -> parent) and use the pipe only in that direction. If you want to communicate both ways, just make two pipes.