http://www.perlmonks.org?node_id=698293


in reply to how can i use PuTTY under Net::SFTP::Foreign ?

from version 1.38, Net::SFTP::Foreign has native support for plink.

Just ensure that it is on the %PATH and...

my $sftp = Net::SFTP::Foreign->new($host, $ssh_cmd => 'plink');