I'm trying to use Net::SSH2::Simple with threads.
I'm creating local instances of Net::SSH2 in each thread, presumably with separate SSH connections.
I have a command on the server that generate one line of output and one that generates a table.
- one line output no threads, no problem
- one line output threads, no problem
- multi-line output no threads, no problem
- multi-line output threads, loops indefinately in Simple->cmd() while (!$chan->eof())
Is there some data structure that would be shared between difference instances of Net::SSH2 that needs thread synchronization?
Alan