in reply to Incorrect value 0 reported in command execution return value variable $?, when trying with expect->send command
Hi, I am trying to remotely run an executable on a remote machine using the expect.pm module.
Why don't you use one of the SSH modules available from CPAN instead? (For instance Net::OpenSSH or Net::SSH2).