Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Threads getting stuck in ssh connection

by talexb (Chancellor)
on Sep 30, 2013 at 14:25 UTC ( [id://1056368]=note: print w/replies, xml ) Need Help??


in reply to Threads getting stuck in ssh connection

Well, I see code for call_cmd which seems to be trying to run a command locally and collect the output -- but it isn't called anywhere; I see a main body that runs through an array, creating threads incorrectly (you have a call to the thread creation routine where you should have a coderef); and finally, you call ssh_con from thread_creation, but it isn't defined anywhere.

I'd recommend appending a complete script that exhibits the incorrect behaviour (don't delete the existing material), and of course remember to use strict and use warnings.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-20 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found