Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: Question on qx

by gonza (Novice)
on Nov 03, 2006 at 23:29 UTC ( #582195=note: print w/ replies, xml ) Need Help??

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().

Comment on Re^3: Question on qx
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://582195]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2015-04-28 17:01 GMT
Find Nodes?
    Voting Booth?

    Who makes your decisions?

    Results (524 votes), past polls