Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 rifling through the Monastery: (11)
As of 2015-07-30 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls