我尝试运行:
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.pm
在 C:/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/