If Devel::Cover is activated, and -blib mode is enabled, then Devel::Hide does not hide modules anymore. To reproduce the problem, try the following, best in an empty directory. First the working setup without -blib:
$ env PERL5OPT=-MDevel::Cover perl -MDevel::Hide=Math::Trig -e 'use Math::Trig'
Devel::Hide hides Math/Trig.pm
Can't locate Math/Trig.pm (hidden)
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
If blib mode is enabled (either with the -blib switch or by creating a "blib" subdirectory), then Devel::Hide is effectless:
If Devel::Cover is activated, and -blib mode is enabled, then Devel::Hide does not hide modules anymore. To reproduce the problem, try the following, best in an empty directory. First the working setup without -blib:
If blib mode is enabled (either with the -blib switch or by creating a "blib" subdirectory), then Devel::Hide is effectless: