http://qs321.pair.com?node_id=226524


in reply to Micro Mocking: using local to help test subs

I've been meaning to write Test::MockPackage (or Test::MockModule) for quite some time now. It'd be handy to gather the most common idioms: