# perl -MNet::Rexec=rexec -le"my ($rc, @out) = rexec ("remote_host", "df -k", "username", "password");