minicpan(1p)

minicpan1p

Uses cpan::mini to create or update a local mirror

Usage

minicpan [options]

Version

version 1.111017

Overview

This simple shell script just updates (or creates) a miniature CPAN mirror as described in CPAN::Mini.

Perl version

This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

Configuration file

By default, "minicpan" will read a configuration file to get configuration information. The file is a simple set of names and values, as in the following example:

 local:  /home/rjbs/mirrors/minicpan/
 remote: http://your.favorite.cpan/cpan/
 exact_mirror: 1

"minicpan" tries to find a configuration file through the following process. It takes the first defined it finds:

•

Use the value specified by "-C" on the command line

•

Use the value in the "CPAN_MINI_CONFIG" environment variable

•

Use ~/.minicpanrc

•

Use CPAN/Mini/minicpan.conf

If the selected file does not exist, "minicpan" does not keep looking.

You can override this process with a "config_file" method in your subclass.

See "CPAN::Mini" for a full listing of available options.

To do

Improve command-line options.

Releases

10 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8–10
  6. 11
  7. 12
  8. 13

Authors

•

Ricardo SIGNES <[email protected]>

•

Randal Schwartz <[email protected]>

From libcpan-mini-perl 1.111017-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.