I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2007-07-07 00:47:52-07 by jmarshll in response to 5647
Re: 64-bit code won't compile and can't connect to sftp server
Sorry about that. For the fatal error I ran it in a place that had some other die handler running I + didn't know about. The following is from a standard environment. I execute this code... use Net::SFTP::Foreign; my $sftp = Net::SFTP::Foreign->new( host => 'sftp.myhost.com', user => 'user', more => [qw(-v -i /home/user/.ssh/my_priv_key)] ); $sftp->error and die "SSH connection failed: " . $sftp->error; using this command... perl -T SFTPTest.pl and I get this error msg... SSH connection failed: Connection to remote server is broken at SFTPTest.pl line 9. When I use this command... perl SFTPTest.pl it works fine. Sorry for the confusion! Thanks.
Direct Responses: 5660 | Write a response