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
In reply to Re: Problem with Expect
by clemburg
in thread Problem with Expect
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |