Michael G Schwern wrote:

A simple strategy might be to just replace the global singleton with the
child's guts at the start of a subtest() and then back out again at the end.

    %$Test = %$child;

Watch out for edge cases of when subtest() dies, make sure the parent's guts
get put back.

"local" should be good for doing that right?

--
Michael Peters
Plus Three, LP

Reply via email to