in reply to Re: Detecting broken modules
in thread Detecting broken modules

Thanks for the example. I'm leaning in this direction if no general solution exists. My main problem with the override approach is that it only really works with certainty if you have one and only one entry point to your code (e.g. the test script). Otherwise, the overridden require only takes effect after the module defining it is loaded. Anything before that will be loaded by normal require and won't show up in the broken hash.

Best, beth