Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Running Perl in an Expect loopby StoneLeopard (Novice) |
on Dec 15, 2016 at 01:08 UTC ( [id://1177816]=perlquestion: print w/replies, xml ) | Need Help?? |
StoneLeopard has asked for the wisdom of the Perl Monks concerning the following question: Hello PerlMonks, I'm trying to spawn a Perl process via an Expect loop. The idea is that the main program would be sending Perl code to the slave, and have it return stuff on STDOUT, which would be received, parsed and acted upon by the main program. I tried to implement this via Expect, but it seems to be deadlocking. Can someone point out what I'm doing wrong? I'm using Perl v5.14.1 if that makes a difference. Thanks much. Pankaj
Back to
Seekers of Perl Wisdom
|
|