Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Can't locate object method "New" via package "Net::SSH" at

by 2teez (Priest)
on Apr 25, 2013 at 10:41 UTC ( #1030647=note: print w/ replies, xml ) Need Help??

in reply to Can't locate object method "New" via package "Net::SSH" at

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.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Comment on Re: Can't locate object method "New" via package "Net::SSH" at
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030647]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-11-25 16:44 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (683 votes), past polls