|
|
| Welcome to the Monastery | |
| 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?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||