Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found