in reply to Re: "local" side effects
in thread "local" side effects

I have. It's probably the right approach for Test::MockPackage, though I waffle back and forth on taking a block as an argument as Test::Exception's dies_ok() does.