Thomas Klausner > CPAN-Mini-FromList > minicpan-fromlist

Download:
CPAN-Mini-FromList-0.02.tar.gz

Annotate this POD

CPAN RT

New  1
Open  1
View Bugs
Report a bug
Source  

NAME ^

minicpan-fromlist - uses CPAN::Mini::FromList to create or update a local mirror

SYNOPSIS ^

 minicpan-fromlist [options]

 Options
   -l LOCAL   - where is the local minicpan?     (required)
   -r REMOTE  - where is the remote cpan mirror? (required)
   -d 0###    - permissions (numeric) to use when creating directories
   -q         - run in quiet mode (don't print status)

DESCRIPTION ^

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

The local and remote mirror locations are (for now) hardcoded and should be updated before running this script for the first time.

CONFIGURATION FILE ^

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

 local:  /home/rjbs/mirrors/minicpan/
 local_fromlist:  /home/domm/cpants/fake_cpan
 remote: http://your.favorite.cpan/cpan/
 exact_mirror: 1

Please note that local will not be used by minicpan_fromlist. Use local_fromlist instead.

AUTHOR ^

Thomas Klausner domm@cpan.org

This code was copyrighted in 2008, and is released under the same terms as Perl itself.