minicpan

Is it possible to add multiple versions of a module to a minicpan index?

空扰寡人 提交于 2019-12-12 19:25:34
问题 I'm setting up a CPAN::Mini mirror and I want to be able to download multiple versions of modules from the mirror. How do I get it to index more that the latest version of modules I inject: $ mcpani -v --add --module Foo --authorid DUMMY --modversion 0.001 --file Foo/Foo-0.001.tar.gz $ mcpani -v --add --module Foo --authorid DUMMY --modversion 0.002 --file Foo/Foo-0.002.tar.gz $ mcpani -v --update such that I can do: $ cpanm -M ~/CPAN Foo@0.001 NOTE: The different versions of the module are

How do I use cpanminus with a local CPAN::Mini?

我是研究僧i 提交于 2019-12-09 17:46:28
问题 I've created my own local copy of CPAN with minicpan and managed to reconfigure cpan to use it - Fantastic! ..but how would I go about using it with cpanminus? 回答1: This should be possible using --mirror-onlyoption. For example: cpanm --mirror ~/minicpan --mirror-only 来源: https://stackoverflow.com/questions/8139088/how-do-i-use-cpanminus-with-a-local-cpanmini

How do I use cpanminus with a local CPAN::Mini?

别等时光非礼了梦想. 提交于 2019-12-04 05:22:40
I've created my own local copy of CPAN with minicpan and managed to reconfigure cpan to use it - Fantastic! ..but how would I go about using it with cpanminus ? This should be possible using --mirror-only option. For example: cpanm --mirror ~/minicpan --mirror-only 来源: https://stackoverflow.com/questions/8139088/how-do-i-use-cpanminus-with-a-local-cpanmini

Building a local CPAN repository

夙愿已清 提交于 2019-11-28 09:14:02
问题 I wonder if there are any options in Perl to build a local CPAN repository including the modules I want and then redistribute it with Perl distribution and then do not need to access CPAN at all. If yes, could some me show an example? I looked on CPAN and found a mincpan but it seems that minicpan bring all the mirror of CPAN. If it's possible to bring only a specific subset of modules using minicpan and in case I have a repository is it possible to copy it to another OS with the same type