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


in reply to Problem with Expect

Hm, I don't know about a Perl way of doing this (simply never had a need to do this in Perl), but the real Expect tool has the "interact" command for doing this.

See "Exploring Expect" (ISBN 1565920902) by Don Libes, page 8, section "Partial Automation".

Hm, seems like the Expect Perl module has also an "interact()" method ...

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com