in reply to Getting variable sized reapones using Net::SSH2
and keeping the buflen large (at 10K) gave me the results without hanging.my @buf; print $chan2 ("ls -l\n"); @buf = $chan2->READLINE(); print @buf;
fnord
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Getting variable sized reapones using Net::SSH2
by essej1 (Novice) on Sep 06, 2012 at 20:17 UTC |