Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id:
48790
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
ianburrell [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
0.22
Fixed in:
(no value)



Subject: Net::SSH2 warns on connect from Timeout option
Net::SSH2 0.22 produces a warning on connect(). This seems to be caused by the new timeout option. Odd number of elements in hash assignment at /usr/local/stow/perl-5.8.8/lib/perl5/5.8.8/i686-linux-thread-multi/IO/Socket.pm line 41. $sock = IO::Socket::INET->new( PeerHost => $_[0], PeerPort => $_[1], $opts{Timeout}, ); I am pretty sure IO::Socket::INET::new takes a hash of options and the timeout should be passed as key and value. $sock = IO::Socket::INET->new( PeerHost => $_[0], PeerPort => $_[1], Timeout => $opts{Timeout}, );
Thank you, fixed in 0.23 -- Rafael


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.