In Apache::SmokeTest I use warning/error subs from TestTrace to make the generated output easy to read and distinguish important prints from less important. But of course error and warning aren't the right names to use. What's the best thing to do in this case? I was thinking about adding a set of other subs to TestTrace derived from the used highlighting color. e.g. red/yellow (basically a wrapper for Term::ANSIColor, which also can do different things with APACHE_TEST_NO_COLOR. What do you think. Look at SmokeTest to see what I mean.

Also the thread about APACHE_TEST_NO_COLOR didn't come to conclusion, should we replace the env var with --batch option (or add it as an alternative)?

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Reply via email to