in reply to how can i use PuTTY under Net::SFTP::Foreign ?
Just ensure that it is on the %PATH and...
my $sftp = Net::SFTP::Foreign->new($host, $ssh_cmd => 'plink'); [download]