If I don't share the handle, I will have to initiate a new Net::SSH::Perl connection in child process and that will slow down the execution of my test case. I have a requirement to execute the same cmd on n number of hosts. I do have a workaround of using system(), instead of Net::SSH::perl. But using system() is slow. Thanks for your suggestion.
In reply to Re^2: Net::SSH::Perl and fork hangs
by arun_o_gupta
in thread Net::SSH::Perl and fork hangs
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |