in reply to SCP help

You would have gotten the same result from the prompt. Your problem has nothing to do with Perl.
root:root_password@foo.bar.com:/my/remote/path_name
means file root_password@foo.bar.com:/my/remote/path_name on machine root. The path should be
root@foo.bar.com:/my/remote/path_name
You could feed the password to its STDIN (probably), but it would be better if you used public key authentication (so you don't need to specify a password at all).

Replies are listed 'Best First'.
Re^2: SCP help
by salva (Canon) on May 03, 2010 at 18:20 UTC
    You could feed the password to its STDIN (probably)
    Not really, ssh opens /dev/tty and reads the password from there.