in reply to Re: Testing Input and Output
in thread Testing Input and Output
The only problem is if what you call performs blocking.
Internally the brainfck , operator uses getc which does block.
To be safe, you should use IO::Select to see if there is data to read on the handles.
Are you by any chance an ex-C programmer? :-) In my case it's a test script so I know exactly what input and output to expect. If you are doing what I think you are doing something like Net::Telnet might save you a lot of bother.
--
જલધર
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Testing Input and Output
by gnu@perl (Pilgrim) on Sep 04, 2002 at 14:42 UTC |