http://qs1969.pair.com?node_id=11146013

LittleJack has asked for the wisdom of the Perl Monks concerning the following question:

I need to test what happens when a module is installed at a non-standard location.

So I installed HTML::Template using:

cpanm -l "C:/Users/Me/SecretModules" HTML::Template

And installation was successful.

When I go to use it (from Eclipse), like this:

Package::DummyModule; use lib 'C:/Users/Me/SecretModules/lib/perl5'; use Text::HTML;

It says that it can't find the module:

Can't locate Text/HTML.pm in @INC (you may need to install the Text::H +TML module) (@INC contains: C:/Users/Me/SecretModules/lib/perl5/MSWin +32-x64-multi-thread [etc]

So I'm confused. The module is installed at C:/Users/Me/SecretModules/lib/perl5 and there's a packlist file in C:/Users/Me/SecretModules/lib/perl5/MSWin32-x64-multi-thread/auto — but why can't Strawberry Perl find the module? Why does it automatically append the multi-thread directory? Can I install in such a way that it's non-multi-thread compatible?

TIA