in reply to Capturing command outputs

Use qx or backticks instead of system.

Replies are listed 'Best First'.
Re^2: Capturing command outputs
by patt (Scribe) on May 10, 2009 at 13:56 UTC
    Many thanks moritz. I am getting what I wanted now. I was trying qx, but in this fashion:
    system qx(file /home/patt/DCUProject/cli.pl);
    It never dawned on me to exclude 'system' from the line of code. I had tried backticks, but they won't work for some reason.