in reply to Re: locally redefining subroutine in module
in thread locally redefining subroutine in module

Thanks, Corion. Also: local *Foo::new = *MockFoo::new;. Dunno why I hadn't tried that..