Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: ssh with perl

by varalaxmibbnl (Acolyte)
on Sep 17, 2013 at 14:07 UTC ( #1054448=note: print w/ replies, xml ) Need Help??


in reply to Re: ssh with perl
in thread ssh with perl

i have installed the foll 2lines also curl -L http://cpanmin.us | perl - --sudo App::cpanminus cpanm Net::SSH::Perl then alsi i get that error


Comment on Re^2: ssh with perl
Re^3: ssh with perl
by Corion (Pope) on Sep 17, 2013 at 14:10 UTC

    If you still "get that error" that means that Perl cannot find the files (just like Perl says). Find out where the file Net/SSH/Perl.pm lives, and correct the value of @INC so it includes the appropriate directory.

Re^3: ssh with perl
by daxim (Chaplain) on Sep 17, 2013 at 15:48 UTC
    I suspect that the installation of Net::SSH::Perl or one of its many dependencies fails on your operating system; as a result, the module actually did not get installed. To confirm this, please provide the full output of that cpanm command.
      thanks for reply can u plz suggest me how to install Net::SSH::Perl on ubuntu
      thanks for reply... i,m still getting the same error (Can't locate Net/SSH/Perl.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at netssh.pl line 5. BEGIN failed--compilation aborted at netssh.pl line 5.).... plz suggest me how to install Net::SSH::Perl on ubuntu... thanks in advance
        What happens if you run

            cpanm --sudo Net::SSH::Perl

        ? Give the full output.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-09-23 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (212 votes), past polls