/usr/share/doc/perl-Expect/examples
use strict; use warnings; while (my $row = <>) { chomp $row; print "Input: '$row' = "; my $res = eval $row; print "'$res' :Output\n"; }
.
Edit
..
Edit
calc.pl
Edit
expect_calc.pl
Edit
kibitz
Edit
ssh.pl
Edit