Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

perl script to control prompts from other scripts 1

Status
Not open for further replies.

MrBlobby

Technical User
Aug 14, 2002
9
GB
I have a perl script that executes another perl/sh script. The 2nd perl/sh script requires interaction i.e. it wants you to input your name etc etc.

How do I go about getting the first perl script to input data on request from the 2nd perl/sh script

Surely this must be quite dificult!!

Thanks
 
The Expect module will do what you want. Mike

"Experience is the comb that Nature gives us, after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Thanks Mike - you're a star!

I'll check out the module

Best regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top