[英]How can I install the same version of the modules from one Perl installation in another installation, like you can do with pip in Python?
In Python I can use pip to dump a list of versions of installed modules 在Python中,我可以使用pip转储已安装模块的版本列表
pip list > modules.txt
and use it to install that same list of versions of modules in another installation. 并使用它在另一个安装中安装相同的模块版本列表。
pip install -r modules.txt
How is this done with Perl? Perl如何做到这一点?
(Note: I understand that I can install standalone Perl installations using perlbrew, which makes it the equivalent of Python's virtualenv, so I'm just missing the pip piece.) (注意:我了解我可以使用perlbrew安装独立的Perl安装,这使其等效于Python的virtualenv,因此我只是缺少了一些小知识。)
cpanm HTTP::Negotiate@6.00
cpanm HTTP::Negotiate@6.00
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.