I installed Net::SFTP::Foreign in my perl 5.8.8 and I'm trying to log in to a Secure FTP server using the below code:
use Net::SFTP::Foreign;
my $host = $tt->get_ftp_server_address();
my $sftp = Net::SFTP::Foreign->new("$host",
{user=>$tt->get_location_user_name(),
password=>$tt->get_location_user_password(),
port=>'22'});
The line where I try to call Net::SFTP::Foreign->new
fails without throwing any error on me.