tran_sonic has asked for the wisdom of the Perl Monks concerning the following question:
The problem is that when A tries to send text to B, B
hangs.
Here are examples:
### A ### ... open2( \*READ, \*WRITE, 'B' ); print WRITE "Hello there.\n"; ... ### B ### $input = <STDIN>; print "echo back: $input"; ...
I know that <> waits for a '\n', by default, before it
returns and I'd like to keep it that way.
I'd appreciate any help I receive. Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pipe problems
by bluto (Curate) on Aug 31, 2004 at 15:30 UTC | |
by sgifford (Prior) on Aug 31, 2004 at 19:36 UTC | |
by bluto (Curate) on Aug 31, 2004 at 21:13 UTC | |
|
Re: Pipe problems
by Random_Walk (Prior) on Aug 31, 2004 at 15:09 UTC |