![]() |
|
There's more than one way to do things | |
PerlMonks |
"Answer" questions in an interactive program?by Anonymous Monk |
on May 11, 2010 at 09:03 UTC ( [id://839401]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello fellow monks! I need to call a rather old program through a perl script that I have written. The problem is that this program is interactive and "asks" the user some questions. Is there a way that perl can help me answer this questions by passing the answers as arguments when I call the program in the command line? The questions are: I really don't have a clue as what to do, I tried (unsuccessfully) to write something like:
Apparently it can't take these arguments as I tried. Any thoughts?
Back to
Seekers of Perl Wisdom
|
|