in reply to Re^2: Thread Termination
in thread Thread Termination
You probably should not get stuck in relying on a Perl version to run your script, and should upgrade to the latest Perl version 5.10.0 and get the latest version of threads and threads::shared, then write your script to work with that.
My clunky straight-forward style has very little trouble between version levels, because I use few tricks and take alot of precautions. I would be willing to bet your code uses techniques that pushes the safety limits of perl/threads, and probably can be written in a more clunky manner. :-) But IIRC from your cross-posting, my first fix would be to dump Net::SSH::Expect and go with Net::SSH2 ( which works well with threads).
|
|---|