If you want to process the output (rather then the return value), either use qx{$cmd | tee -a $logFile} or open to open a pipe and read from that pipe.
In reply to Re: Check system return codes
by moritz
in thread Check system return codes
by Noame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |