Thanks haukex, I ended up implementing Net::OpenSSH and used the scp_put.
In reply to Re^2: Issues with Net::SCP::Expect by Merchlewitz in thread Issues with Net::SCP::Expect by Merchlewitz