On Tue, Mar 08, 2005 at 09:34:17AM -0800, Michael G Schwern wrote:
> There's no equivalent to this?
> 
>       my $output = `some_program 2>&1`;
> 
> Where STDOUT and STDERR are combined into one stream, keeping the order
> correct.

If there is it's not in the docs. They show things like

output_like  ( $coderef, $regex_stdout, $regex_stderr, 'description' );

that is 2 regexes stdout and stderr separately.

In the case of though darcs though, is Perl just testing the output of
commands that have been systemed? If so they could just add 2>&1 to the
command line and then ignore stderr,

F

Reply via email to