Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Perl Monk, Perl Meditation
 
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 having an uproarious good time at the Monastery: (6)
As of 2014-04-20 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls