http://qs321.pair.com?node_id=89741

turumkhan has asked for the wisdom of the Perl Monks concerning the following question:

I have to run a command in my perl script by using the back ticks. when i execute that command it asks me for password. Now i wanna pass that password without typing it. for clear understanding of the problem here it goes:
`run the command line`;
now it asks me for password. What i want to do is capture is prompt and pass the password in the script itself rather then typing it all the times. So how do i caputre when the output when it prompts me for the password.

Originally posted as a Categorized Question.