Hi eandalu,
Please always put your codes in <code></code> see How do I post a question effectively?.
That been said, I think is good to check how a module is implemented before using it at all.
Check the Net::SSH documentation, it shows a different implementation to what you are trying to do. The module doesn't have an OO implementation, so no object method "New" via package "Net::SSH". But for Net::SSH2 and Net::SSH::Perl there is. However, you need check how it is used.
Please check these modules documentations.
In reply to Re: Can't locate object method "New" via package "Net::SSH" at
by 2teez
in thread Can't locate object method "New" via package "Net::SSH" at
by eandalu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |