Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: capturing command output

by JavaFan (Canon)
on Jan 25, 2012 at 16:51 UTC ( #949930=note: print w/replies, xml ) Need Help??


in reply to Re^4: capturing command output
in thread capturing command output

Hmmm, so, you're saying, it's wrong to use backticks, because if you only put half the command in the backticks, it doesn't work?

I think that's one of the more stupid arguments one can make. If the OP would remove the 2>&1 from his original solution, it would break in the same way.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://949930]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-08-17 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (286 votes). Check out past polls.

    Notices?