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.

Reply via email to