in reply to
Expect.pm Help
try swapping the order of the last two lines in your first script (you need to find "name:" before you send the name), and add this line at the end of the first script:
$expect->soft_close();
[download]
Comment on
Re: Expect.pm Help
Download
Code
In Section
Seekers of Perl Wisdom