veeruch has asked for the wisdom of the Perl Monks concerning the following question:

yes i sucessfully loaded Net::SSH::Perl and Math::Pari while running ssh.pl file it is giving

Can't set socket non-blocking: at E:/perl/site/lib/Net/SSH/Perl.pm lin +e 212, <GEN0> line

what is the solution?

Thanks for PerlMonks and whom every supported..

Formatting cleaned up by GrandFather

Replies are listed 'Best First'.
Re: installed SSH and Math::Pari
by jhourcle (Prior) on Jul 03, 2006 at 18:18 UTC

      i am wroking in win32

      i have given code like this

      use Net::SSH::W32Perl; my $ssh = new Net::SSH::W32Perl($host); $ssh->login($user, $pass); my ($out, $err, $exit) = $ssh->cmd('ls -lrt'); print "$out, $err, $exit";

      while iam running perl ssh.pl. it is keep on going ,it won't give any out put

      20060704 Janitored by Corion: Moved normal text out of code tags, added formatting, as per Writeup Formatting Tips

Re: installed SSH and Math::Pari
by kwaping (Priest) on Jul 03, 2006 at 17:20 UTC
    Can you please provide some or all of ssh.pl?

    ---
    It's all fine and dandy until someone has to look at the code.
    A reply falls below the community's threshold of quality. You may see it by logging in.