Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Threads getting stuck in ssh connection

by talexb (Canon)
on Sep 30, 2013 at 14:25 UTC ( #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.

Comment on Re: Threads getting stuck in ssh connection
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2015-11-30 00:36 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (755 votes), past polls