On Sun, Jan 06, 2002 at 09:46:13PM +0100, Rafael Garcia-Suarez wrote:
> Instead of using an environment variable, you can use a global variable
> in the O namespace. Let's say $O::No_Test_Output defaults to 1 (set by
> O.pm).
> 
> In Test::Builder (line #571) you would have
>       return if $O::No_Test_Output; # Don't print headers under compiler backends
> instead of
>       return if $^C;
> and B::C (and other backends that want to behave this way)
> could override this setting by doing $O::No_Test_Output = 0.

That's just as yicky as an environment variable.  Both involve
incestuous coupling.

Hopefully it turns out that -qq will fix this.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
I will personally promise to glare sternly at such people.
        -- Jarkko Hietaniemi in <[EMAIL PROTECTED]>

Reply via email to