Something like IPC::Run will (presuming the presence of an *NIX-y enough OS with ptys) make expect-ish automation of interactive programs possible. Alternately there's . . . erm, Expect. Use one of those to start your program, send it your input, read back the output, yadda yadda yadda.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: How to use perl to capture its output while inputting data to an external command
by Fletch
in thread How to use perl to capture its output while inputting data to an external command
by wangliang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |