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.
--
જલધર
In reply to Re: Re: Testing Input and Output
by jaldhar
in thread Testing Input and Output
by jaldhar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |