in reply to perl code to automate launching a program and entering responses

You've ruled out CPAN modules, so Expect can't help you. But it would solve your problem for you if you'd let it.

  • Comment on Re: perl code to automate launching a program and entering responses