decebel has asked for the wisdom of the Perl Monks concerning the following question:
I have been struggling with a simple task for offline installation of libraries and I am running into various issues. Fixing one issue brings up something else. I might be doing something silly that does not seem obvious to me at this point.
The issue is, installation of a Bundle module from offline on windows seems to be an issue for me.
Some details: My application requires some CPAN modules such as POE, Log4perl and all these modules and the application modules are downloaded and kept locally.
I am configuring MyConfig.pm so that urllist points to this path where the modules are downloaded.
Sample: 'urllist' => [q[file:c:\Users\Demouser\libs]]
Also, I have created a Bundle module and in this module I list all the modules I need as part of the installation process.
Now, from the cpan shell, I write, install Bundle::MySetup
MySetup.pm has POE, Log4perl and my custom modules mentioned in the POD section as required by Bundle specification.
The cpan shell starts looking at the path authors/id/R/RC/RCAPUTO/POE-1.267.tar.gz in c:\Users\Demouser\libs
Why does cpan shell do that? Why doesn't it simply look at c:\Users\Demouser\libs for the modules? Am I missing configuring some other variables here...
Appreciate your help Gracias Dece