http://www.perlmonks.org?node_id=980809


in reply to Re^3: Expect doesn't work as Expected
in thread Expect doesn't work as Expected

Hi Thanks for your help,

Basically yes, with one restriction: you must spawn() your programs in the main thread and then pass the Expect objects to the handling threads.

I will try that

and will ask the mailing list once I got the time.