http://www.perlmonks.org?node_id=582195


in reply to Re^2: Question on qx
in thread Question on qx

If you're looking for the return code of the command you're running, you can use system().

Replies are listed 'Best First'.
Re^4: Question on qx
by BUU (Prior) on Nov 04, 2006 at 11:11 UTC
    qx// also sets $?.
      Yes, but the command in question here doesn't emit any output, so qx is not needed. Actually, he really should be using File::Copy.