in reply to Re: Trouble installing Net::SFTP under ActiveState
in thread Trouble installing Net::SFTP under ActiveState

Thanks. I added repository http://trouchelle.com and then I was able to install Net::SFTP. However, when I try to create a connection:
use Net::SFTP; my $sftp = Net::SFTP->new($targetURL, [user => $targetUser, password = +> $targetPwd]);
I get:
The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Per +l.pm line 110.

Replies are listed 'Best First'.
Re^3: Trouble installing Net::SFTP under ActiveState
by Anonymous Monk on Mar 14, 2009 at 17:31 UTC
    That has been fixed since version 1.20 2001.07.11. Upgrade to Net-SSH-Perl-1.34 01 Feb 2009
      I am already using Net-SSH-Perl version 1.30 which gave the error message.