Using the Net::SSH2 backend for Net::SFTP::Foreign is very advisable on Windows systems, but under Linux/Unix, the default backend is usally a better option as it is more efficient and has been more extensively tested!
Comment on Re^2: question about objects / Net::SFTP