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


in reply to Re^4: Net::OpenSSH rsync_get/rsync_put
in thread Net::OpenSSH rsync_get/rsync_put

May STDOUT had been previously redirected in your script to some other place? I can not imagine any other reason causing that behavior.

In Linux you can add the following perl code to discover where STDOUT is going:

system 'ls -l /proc/$$/fd/1';