Hi All,

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

In reply to Bundles and offline installation issues by decebel

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.