Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: Using Perl Threads with Expect.pm

by vishi (Beadle)
on Feb 17, 2011 at 20:22 UTC ( [id://888787]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://888787]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-23 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found