Assuming you want to write more than the output of the command to the logfile, you'll want the file descriptor number of the file handle, which you should be able to get via
my $fdes = $logFile->fileno;
and then your $cmd would end in something like
>>& $fdes
Caution: Contents may have been coded under pressure.