Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You could set up a CPAN::Mini repository. You need to install <code>CPAN::Mini</code>, and provide a config file <code>.minicpanrc</code>. Mine is quite short:</p> <pre><code># contents of .minicpanrc in home directory local: /home/ebaudrez/mirrors/minicpan remote: http://cpan.cu.be/ </code></pre> <p>Obviously, you'll need to tune that to your installation. You can find a list of CPAN mirrors <a href="http://search.cpan.org/mirror" rel="nofollow">here</a>. Then you have to create the local mirror by calling</p> <pre><code>minicpan </code></pre> <p>Beware: the first time, this will take quite some time. Expect a couple of gigabytes of storage to be consumed. Subsequent calls will be much faster. It found it made no sense to call it more than once daily. Also note that only the last release of a distribution is kept, and old or removed distributions will be removed from your local repository.</p> <p>And then finally, you can tell <code>cpanm</code> to use your mirror preferentially, and to fail back to real CPAN only when the particular distribution or version you're after is not available in your local mirror:</p> <pre><code>PERL_CPANM_OPT="--mirror $HOME/mirrors/minicpan --mirror http://search.cpan.org/CPAN" </code></pre> <p>It's possible to configure CPAN or CPANPLUS to use your mirror, too, but I found it slightly less convenient to do so, and prefer cpanminus anyway.</p> <p>Now you can install any distribution/version you want using <code>cpanm</code>, e.g.,</p> <pre><code>cpanm Dist::Zilla; # enjoy as the dependencies fly by ;-) </code></pre> <p>or, say, PDL version 2.006 (note: latest release at the time of writing is 2.007 ;-))</p> <pre><code>cpanm PDL@2.006 # note: that is new syntax since cpanminus 1.6 </code></pre> <p>Stuff that is in your local mirror will be used if available. Global CPAN will be used for fallback.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload