"be consistent" | |
PerlMonks |
Re^3: A little demo for Net::SSH2by zentara (Archbishop) |
on Oct 15, 2010 at 20:03 UTC ( [id://865558]=note: print w/replies, xml ) | Need Help?? |
It must have been the blocking missing, I didn't see you have a $chan->blocking(0/1), or if that is the type of blocking you are talking about. If you google for "Net::SSH2 timeout" you will find it has been tricky to get timeouts to work. The latest module has a few lines where timeouts can be set and You might want to look at Net::SSH2 Command Timeout Before Completion for other modules that handle the timeouts better. I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Cool Uses for Perl
|
|