建立本地CPAN储存库

建立本地CPAN储存库

本文介绍了建立本地CPAN储存库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道Perl中是否有任何选择来构建包括所需模块的本地CPAN存储库,然后通过Perl发行版对其进行重新分配,然后根本不需要访问CPAN。

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?

我查看了CPAN,发现了一个mincpan,但似乎minicpan带来了CPAN的所有镜像。如果可以使用minicpan仅带来特定的模块子集,并且如果我有一个存储库,是否可以将其复制到相同类型的另一个OS并在那里轻松安装相关模块?

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 and install the relevant modules there with no headaches?

推荐答案

请参见(管理本地cpan- (例如存储库)或(可以捆绑依赖项并根据需要提供它们,但是部署后必须在纸板箱下运行应用程序。)

See Pinto (manages a local cpan-like repository) or Carton (can bundle up dependencies and provide them as needed, but you must run your application under carton after deployment.)

或者,您可以。

这篇关于建立本地CPAN储存库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 23:52