The stupid question is the question not asked | |
PerlMonks |
NET::OpenSSH to execute multiple commandsby hmb104 (Sexton) |
on Aug 24, 2012 at 19:25 UTC ( [id://989626]=perlquestion: print w/replies, xml ) | Need Help?? |
hmb104 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I'm writing a very basic script using Net::OpenSSH to connect to some switches and extract some data. I have tried to use Net::SSH and it is really slow and it crashes my system. I have also tried to Expect before, but I really like to use the Net::OpenSSH module. Is it possible to execute more than 1 command in 1 connection using this module?. Any ideas? Also in the foreach loop, can I read from 2 arrays? Like foreach (@arra1 || @arra2)?Thanks for the help.
Back to
Seekers of Perl Wisdom
|
|