in reply to Re^3: Using Perl Threads with Expect.pm
in thread Using Perl Threads with Expect.pm

Oh that! Well, ThreadB is doing stuff on a different server than ThreadC... so I need 2 threads to work across 2 machines.

  • Comment on Re^4: Using Perl Threads with Expect.pm

Replies are listed 'Best First'.
Re^5: Using Perl Threads with Expect.pm
by fidesachates (Monk) on Feb 17, 2011 at 21:15 UTC
    Yes but bart's point still stands. Why can't you use one thread to connect to machine b, then connect to machine c. Rinse and repeat. Expect doesn't require you to connect to only one machine per thread does it?

      Oh is that possible? If so, could you just give me a snippet of code / point me to an example how this could be done?