Hi, You may want Expect: http://search.cpan.org/~rgiersig/Expect-1.21/Expect.pod
On Fri, Jul 10, 2009 at 3:00 PM, John Somoza<john.som...@gmail.com> wrote: > I have a general perl question. > > I'm on OSX running a program from the command line. That program asks a > series of questions, which I interactively answer. > > I would like to use perl to run the program (this part is not the problem) > and answer the questions (this is the part I need help with). I have seen > this type of thing done with a shell script (I think you can use the ECHO > command in the bourne shell) but how would I do this in perl? > > Thanks, > > John > -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/