Preventing missing dependencies

Nicholas Clark nick at ccl4.org
Mon Feb 27 11:52:04 GMT 2006


On Sun, Feb 26, 2006 at 06:44:31PM +0000, Paul Makepeace wrote:
> I'm not sure whether it's even possible to modify use like that without
> a source filter...

I think that you can override core require.
Alternatively you can use code references (and objects) in @INC as of 5.6.0.

Either way gets you a runtime hook into what they think they're asking for,
which is great until they start lazy loading things at runtime with require,
and don't have 100% test coverage for that part of their code.

Nicholas Clark


More information about the london.pm mailing list