Subject: | Test-detecting blib-only logic hides other installed modules |
The logic in Module::Pluggable::Object that detects the presence of blib.pm and then selects only those paths in @INC which match "/blib/" hides any other modules that are installed elsewhere on my path, such as /usr/share or $HOME/lib/perl5.
I find it useful to be able to run a local testing version of an application from within blib but still see plugins installed elsewhere on my system to test it against, before installing it for real.
Could perhaps we have an option to disable that check, allowing all of @INC to be searched even when running via blib? Currently my hacky workaround is to
delete $INC{"blib.pm"}
which happens to defeat it.
--
Paul Evans