September 2011 Archives

Using modules that are not installed

Yesterday I stumbled across an error message of perl5 I've never seen before:
Can't locate loadable object for module X in @INC

I was trying to test a module A that uses a module B that isn't installed. The perlmonks told me that it had something to do with DynaLoader.

I already had a

use lib "'MODULEB/blib/lib";

in my setup.

What made it work was an additional

use li…

About glauschwuffel

user-pic perlanalyst, testing, compilers