MATSUNO★Tokuhiro > OrePAN-0.08 > orepan.pl

Download:
OrePAN-0.08.tar.gz

Annotate this POD

CPAN RT

New  2
Open  1
View/Report Bugs
Source  

NAME ^

orepan.pl - yet another CPAN mirror aka DarkPAN repository manager

SYNOPSIS ^

    % mkdir -p /path/to/repository

    # add new module to repository directory
    % orepan.pl --destination=/path/to/repository --pause=FOO \
        Foo-0.01.tar.gz
    # retrieve from network
    % orepan.pl --destination=/path/to/repository --pause=FOO \
        https://example.com/MyModule-0.96.tar.gz

    # and use it
    % cpanm --mirror-only --mirror=file:///path/to/repository Foo

DESCRIPTION ^

OrePAN is yet another CPAN mirror aka DarkPAN repository manager.

orepan.pl can add a new module to DarkPAN repository. If you want remove modules, add many modules at once, you can use orepan_index.pl

OrePAN is highly simple and limited. OrePAN supports only App::cpanminus. Because I'm using cpanm for daily jobs.

OPTIONS ^

--destination

Set a directory that use as DarkPAN repository

--pause

PAUSEID, the module is copied to destination/authors/id/{substr(0,1,id)}/{substr(0,2,id)}/{id}/module

AUTHOR ^

Tokuhiro Matsuno <tokuhirom AAJKLFJEF GMAIL COM>

SEE ALSO ^

CPAN::Mini::Inject, App::cpanminus

LICENSE ^

Copyright (C) Tokuhiro Matsuno

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: