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


in reply to Controlling the shell...

The \Q (begin to special quote) and \E (end special quoting) escape characters may do the trick. Try
my $temp = `ssh "\Q$_\E" autopasswd_oracle.exp $user $password`;
I wonder if it would work without the double quotes. I do not remember
Good luck