http://www.perlmonks.org?node_id=950366


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

Sure, but that still doesn't explain why it's better to do your own implementation of backticks right from the start. Given my trivial implementation of your wished extra layer of indirection, gives you all the hooks you want to add logging, redirection, or whatever you may wish to do. But unless there's an actual reason to do the logging, redirection, or whatever, there's no need to do it.