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


in reply to Strange math issue with Net::SFTP

You should consider using Net::SFTP::Foreign instead of Net::SFTP.