in reply to Re: See your test results in color.
in thread See your test results in color.

Oh, duh! Yeah, I need the eval so the terminal colors don't get messed up. Good point.

Rather than shut Test::Harness up, I'd rather do something like Tie::STDERR, figure out where the output belongs and synchronize it with the results, but I don't think there's any way of knowing which output to STDERR corresponds to a particular test.

Cheers,
Ovid

New address of my CGI Course.

Replies are listed 'Best First'.
Re^3: See your test results in color.
by radiantmatrix (Parson) on Jan 27, 2005 at 21:24 UTC

    Well, you could always redirect STDERR to STDOUT like

    local *STDERR; open STDERR, ">&STDOUT" or die "cannot dup STDERR to STDOUT: $!\n";

    And then deal with only one output stream...

    radiantmatrix
    require General::Disclaimer;
    s//2fde04abe76c036c9074586c1/; while(m/(.)/g){print substr(' ,JPacehklnorstu',hex($1),1)}

      Actually, it looks like petdance is going to create a proper test result object that we will be able to use to fetch this data. He just needs a few tuits, but once that is done, being able to manipulate test results will be much easier.

      Cheers,
      Ovid

      New address of my CGI Course.