gpt4 book ai didi

perl - 为什么我会在 @INC 中收到此模块错误 : "Can' t locate Error. pm?

转载 作者:行者123 更新时间:2023-12-04 23:07:35 25 4
gpt4 key购买 nike

我尝试运行:

perl -e "use Error;" 

来自 Windows 7 中的 cmd。(系统上安装了事件的 perl 5.12),我收到了错误

Can't locate Error.pm in @INC (@INC contains: C:/Perl64/site/lib C:/Perl64/lib )



我手动搜索发现 Error.pmC:/Perl64/lib/CPANPLUS .

有谁知道这里会发生什么?

最佳答案

您必须安装模块 Error可以在 CPAN 上找到。
但请注意此警告:

Using the "Error" module is no longer recommended due to the black-magical nature of its syntactic sugar, which often tends to break. Its maintainers have stopped actively writing code that uses it, and discourage people from doing so. See the "SEE ALSO" section below for better recommendations.

关于perl - 为什么我会在 @INC 中收到此模块错误 : "Can' t locate Error. pm?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3303641/

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