Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Question on qx

by BUU (Prior)
on Nov 03, 2006 at 20:53 UTC ( #582164=note: print w/replies, xml ) Need Help??

in reply to Question on qx

The output of qx// is whatever the program inside's STDOUT is. In your specific case you send all of the program's STDOUT to a file, so there is none left for perl to read.

Replies are listed 'Best First'.
Re^2: Question on qx
by duckyd (Hermit) on Nov 03, 2006 at 22:11 UTC
    if BUU's explanation wasn't enough, perhaps perlop can help
      If you're looking for the return code of the command you're running, you can use system().
        qx// also sets $?.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://582164]
[Discipulus]: #defacebook
[marto]: in marto's scratchpad should I see a patching ... for each file it has successfully patched? I note that I don't get that line for the ones which claim to be read only
[marto]: perlbrew installing 5.10.1 to investigate this

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2018-03-22 09:54 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (273 votes). Check out past polls.