gpt4 book ai didi

perl - 无法从 CPAN (Perl) 安装

转载 作者:行者123 更新时间:2023-12-02 00:41:53 60 4
gpt4 key购买 nike

我正在尝试安装 perlcc module使用 cpan:

cpan[1]> install perlcc
Reading '/home/iuser/.local/share/.cpan/Metadata'
Database was generated on Fri, 08 Sep 2017 12:41:02 GMT
Warning: Cannot install perlcc, don't know what it is.
Try the command

i /perlcc/

to find objects with matching identifiers.

cpan[2]> i /perlcc/
No objects found of any type for argument /perlcc/

cpan[3]>

为什么即使搜索页面显示有此模块,但仍未安装?如何解决这个问题?

最佳答案

perlcc 不是模块。它是一个命令行可执行文件。

查看您链接到的页面:

image

……它是 Perl 本身的一部分。

使用 Google 搜索 perlcc 出现了 this page,上面写着:

perlcc has been removed from Perl effective Perl 5.10. It and the underlying modules have always been out of date, broken and unmaintained.

因此您可以安装旧版本的 Perl(perlbrew 可能会有所帮助)以访问它。

该页面还说:

Reini Urban has since fixed it and has been maintaining it as part of B::C

因此您可以考虑安装它。

关于perl - 无法从 CPAN (Perl) 安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46118713/

60 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com