http://www.perlmonks.org?node_id=861703

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

I want to use Expect module in my scripts, intenion is to enter passwords automatically to a command when it prompts on STDOUT. Passwords will be saved in a array or in a file.