in reply to Piping output into a log file

If you want to log on the local system, then you should try:
my $logFile = IO::File->new("$someFile", 'a'); my $cmd = qx($rsh $host -l $id "$command"); print $logfile $cmd;
You might also want to look at IPC::Open2 and IPC::Open3.

-- gam3
A picture is worth a thousand words, but takes 200K.