in reply to Running Perl in an Expect loop
Thanks for all the comments!
After realizing the REPL problem, I switched over to a simple IPC::Open2 call instead of Expect. But, instead of trying to interact with the child line-by-line, now I'm sending the while file to the child Perl process, closing its input handle, and then reading back the results.
This does exactly what I needed.
Thanks
Pankaj
|
|---|