Re: Net::SFTP / Net::SSH::W32Perl strange debug messages?




<trsaunders@xxxxxxxxx> wrote in message
news:1155481573.474888.261510@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm trying to use Net::SFTP under windows, and have got it working
fine, apart from these very annoying debug(?) messages it keeps
printing to stdout:

IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::String at C:/Perl/site/lib/Net/SSH/Perl/Channel.pm line 110
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::String at C:/Perl/site/lib/Net/SSH/Perl/Channel.pm line 110
IO::String at C:/Perl/site/lib/Net/SSH/Perl/Channel.pm line 118
Connected to SFTP

..
..

I've tried looking through the SFTP & SSH code, but I cannot work out
where on earth these messages are coming from. has anyone got any idea?


Judging by the messages, it looks like they are being generated by the code
at line 295 of SSH2.pm, and by the code at lines 110 and 118 of Channel.pm.

What are those specific lines of code ? (Probably best to give us a few
lines either side, for context.)

------------------------
D:\pscrpt>type try.pl
warn "IO::Socket::INET";
D:\pscrpt>perl try.pl
IO::Socket::INET at try.pl line 1.
-----------------------

Cheers,
Rob



.



Relevant Pages