每次我在 Perl 中输入 use diagnostics
时,我都会收到一条错误消息说couldn't find diagnostics data in /file name.etc...
有人可以帮忙吗? use warnings
等一切正常!
提前致谢。
最佳答案
这表明您安装的 Perl 不包括 perldiag.pod(一个文档文件)。见 here 。
最简单的解决方案可能是更新您的 Perl 安装。无论如何,这是个好主意,除非您已经拥有最新版本。
关于perl - "use diagnostics"不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14999981/