On Wed, 12 Oct 2005, Adriano Allora wrote:

I need to use a a shell-program but I cannot pass all the arguments to this program via system() function. In other words: the program doesn't accept all the arguments via command line: I need to open it and write interactively some instructions.

Is there a module which works in this way?

Yes: Expect.pm

How can I do?

Read the documentation, then write a program that uses Expect.pm.


--
Chris Devers

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to