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


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();