On 2005-03-08, Michael G Schwern <[EMAIL PROTECTED]> wrote: > On Tue, Mar 08, 2005 at 05:27:34PM +0000, Fergal Daly wrote: >> On Tue, Mar 08, 2005 at 04:56:08PM +0000, Mark Stosberg wrote: >> > Hmm...maybe Test::Output just needs a new feature: >> > >> > # Because sometimes you don't care who said it. >> > stdout_or_stderr_is() >> >> Test::Output allows >> >> my ($stdout, $stderr) = output_from {...}; >> >> then you can do your own tests. > > 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.
I agree 'output_from' is not the same as what I asked for, but it's probably good enough. I have a 50% chance of guessing which output stream I'm reading, so the extra effort shouldn't take too long. Mark