Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Question on qx

by duckyd (Hermit)
on Nov 03, 2006 at 22:11 UTC ( [id://582180] : note . print w/replies, xml ) Need Help??


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

if BUU's explanation wasn't enough, perhaps perlop can help

Replies are listed 'Best First'.
Re^3: Question on qx
by gonza (Novice) on Nov 03, 2006 at 23:29 UTC
    If you're looking for the return code of the command you're running, you can use system().
      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.