views:

327

answers:

1

I would like to generate Perl Expect code automatically, does something like autoexpect exist for Perl's Expect??

+2  A: 

This is not a good answer, but will have to do until a good answer comes along.

I ran the TCL autoexpect and it created a script file, I then wrote couple lines of perl code that parses the lines with "send" and "expect" tags and then uses the perl expect module to run them along with some other actions.

This hybrid approach gets me by, but I am still hoping for a better answer to come.

Ville M