Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Answer: How do I have Perl send the password to a program that prompts for a password

( #90231=categorized answer: print w/ replies, xml ) Need Help??

Q&A > input and output > How do I have Perl send the password to a program that prompts for a password contributed by ton

Give IPC::Open2 or IPC::Open3 a try.

Comment on Answer: How do I have Perl send the password to a program that prompts for a password
Re: Answer: How do I have Perl send the password to a program that prompts for a password
by dimmesdale (Friar) on Jun 21, 2001 at 02:49 UTC
    Or, you can try Expect.pm.
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2015-07-04 06:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls