in reply to Pipe problems
$| = 1; print ...
Also, terminate the print with a '\n'. Though you haven't shown it, I'm assuming A reads back the line printed from B. (If not, B can hang on the print waiting for A to read it if B prints a large enough string, filling the pipe.) Update: From your code, it looks like A sends the '\n' to B so the comment about terminting the print may not apply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pipe problems
by sgifford (Prior) on Aug 31, 2004 at 19:36 UTC | |
by bluto (Curate) on Aug 31, 2004 at 21:13 UTC |