Re: Changing T::B behavior

2002-11-14 Thread Michael G Schwern
I think there's several concepts here that are getting tangled: 1. A way to locally change the default T::B object 2. A way to share state between multiple T::B objects 3. A way to copy state between multiple T::B objects 4. A way to locally change the configuration of a Test::Builder object.

Changing T::B behavior (was Re: And for the mod_perl folks... Test::Builder-reset)

2002-11-13 Thread Michael G Schwern
On Tue, Nov 12, 2002 at 11:04:53PM +, Adrian Howard wrote: O! Just had an idea prompted by reset(). How about having $builder-push_state; $builder-pop_state; that would store and restore the complete state of the builder object in a stack? Would make it easier to