> Now, my problem is, I want to write a script to intercept this
> command and supply answers for SOME of the questions, while for
> other questions the user will be prompted for answer as before.

I think you would be best served by "Expect.pm", as maintained
(and likely written) by Roland Giersig.  See
http://search.cpan.org/search?dist=Expect for further info on
this module.

In general, this module allows your script to control interactive
programs, which, it seems to me, is exactly what you're asking for.
It may be too complicated for a neophyte, but then again, it may
not be!

John
-- 
               John Fox <[EMAIL PROTECTED]>
    System Administrator, InfoStructure, Ashland OR USA
  ---------------------------------------------------------
"What is loved endures.  And Babylon 5 ... Babylon 5 endures."
              --Delenn, "Rising Stars", Babylon 5

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to