Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to output backtick or qx to a variable and STDOUT at the same time?

by space_monk (Chaplain)
on Nov 20, 2012 at 08:36 UTC ( #1004673=note: print w/ replies, xml ) Need Help??


in reply to How to output backtick or qx to a variable and STDOUT at the same time?

As far as combining system and backtick operation is concerned, it seems to be a little known fact that backticks also set the exit code ($?) value in the same way as system does.

I'd personally be grateful if someone could show an example of where Capture:Tiny does something that is not done by backticks.

A Monk aims to give answers to those who have none, and to learn from those who know more.


Comment on Re: How to output backtick or qx to a variable and STDOUT at the same time?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-10-26 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls