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
PankajIn reply to Re: Running Perl in an Expect loop
by StoneLeopard
in thread Running Perl in an Expect loop
by StoneLeopard
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |