hi,

I want to write a perl script that interactive with other program or
script. when I run
the jacl script which askes me to input some parameters interactively,
just like this,

when I issue java -jar install.jar , then I have to answer some questions
like below,

enable security ? (true|false) [false]:
Is this a cluster installation ? (yes|no) [no]:

and more ...

I should input true or false to the 1st question, and input yes or not to
the 2nd question, etc.

Now I want to call the install program in my perl program and answer
the questions at the
same time to the install program's questions.
Any example or demo code?