The stupid question is the question not asked | |
PerlMonks |
Re: Running Perl in an Expect loopby StoneLeopard (Novice) |
on Dec 15, 2016 at 16:46 UTC ( [id://1177862]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|