|Subject:||CORE::GLOBAL::require bypass is incomplete|
Module::Runtime tries to bypass any CORE::GLOBAL::require overrides by calling require using CORE::require. This is ineffective on perl 5.8.0-5.8.8. This causes problems with Devel::OverrideGlobalRequire, as it does not maintain the file and line context in the require calls it uses. This means that use_package_optimistically throws errors when it should not. D::OGR itself includes a workaround for this issue:My preference would be to stop trying to bypass C::G::require, and relax the regex checking for a load error. But otherwise, deleting and restoring C::G::require while compiling the module should be a viable workaround.