Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top