OK, I'm stuck.  I've read through IPC::Open3 and friends, I've looked through 
CPANPLUS, I've tried to solve this problem but no matter how hard I try, while 
I can fetch both STDOUT and STDERR, I cannot guarantee that they're in synch.  
That's my big problem and 

So I'm going to head over to Perlmonks and ask there.  It seems like, unless 
the source of the data ensures that everything is going to the same filehandle, 
I can't reliably solve this problem.  Lots of folks have offered suggestions 
and for that I am very grateful, but what about the 'must be in synch' problem? 
 That's the one I'm struggling with.

Barring some change, I'm forced to throw away STDERR, just like Test::Harness.  
That really limits what I'm trying to do.  On the other hand, I can quite 
reliably parse this:

  use Test::More 'no_plan';
  $tb->failure_output( Test::More->builder->output );
  diag 'comments';
  ok 1;
  ok 1;
  ok 1;
  diag 'comment';
  ok 1;
  diag 'more ignored stuff';
  diag 'and yet more';

Cheers,
Ovid

-- 
Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/



Reply via email to