If you are using a linux box this is one way..

Go to search.cpan.org and find your modules, to the upper right of the documentation page for a module ( for example RDF::Redland::Storage You can download the distribution package, usually a "tarball" this is a zip like file with the files you need to install the module.

Save those for whatever you need.. then take them to your computer of choice. And follow the README instructions- which will likely tell you to run 'make', 'make test', 'make install' - as root user- from the directory you unpacked your files into (unzipped files to)

That was a brief 5 cent breakdown. That said- In my humble opinion- I would discourage this! It could become a nightmare. The modules quite often need modules that are not already installed. So.. if You install a::b, it is likely you also need b::c, but how do you know if you already have it? I suggest you plug your machine temporarily into the net, run cpan which will will also take care of dependencies.

Would you explain further what your situation is? Is this a laptop without wireless? There are solutions for this.


In reply to Re: Installing modules from a local machine by leocharre
in thread Installing modules from a local machine by jimman666

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.