Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Net::SSH::Expect Warning

by drip (Beadle)
on Apr 08, 2008 at 08:06 UTC ( [id://678946]=perlquestion: print w/replies, xml ) Need Help??

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

Hello monks,
need help again...
i am trying to use Net::SSH::Expect..however, i get a warning..
"Subroutine POSIX::WNOHANG redefined at /usr/local/lib/perl5/5.8.8/mach/POSIX.pm line 48"..the code runs fine but sometimes this warning comes up...
and i need to know what causes this warning...here's a simple code i am running...
#!/usr/bin/perl -w use strict; use Net::SSH::Expect; my $host="myhost"; my $password="mypassword"; my $user="myuser"; my $ssh= Net::SSH::Expect->new( host => $host, password=> $password, user => $user, raw_pty =>1); $ssh->login(); $ssh->close();
anyone..?... thanks in advance

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://678946]
Approved by andreas1234567
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2025-02-09 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (95 votes). Check out past polls.