linux - 安装 HTML::TreeBuilder::XPath 失败

标签 linux perl shell unix html-tree

我正在尝试安装 ** HTML::TreeBuilder::XPath 版本 0.13 ** 但失败。

任何人都可以提出可能的原因吗?

最佳答案

您安装了错误的 Scalar::Util 版本。 (这可能不是你的错;一些发行版已经这样做了。)首先重新安装 Scalar::Util。

$ cpan Scalar::Util

或者如果它提示 Scalar::Util 是最新的。

$ cpan
cpan> force test Scalar::Util
cpan> force install Scalar::Util  # Only do this if the tests were successful!!
cpan> quit

关于linux - 安装 HTML::TreeBuilder::XPath 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14917657/

相关文章:

linux - 连接两台服务器并获取数据

php - 在 php 中调用 exec()

linux - Bash - 使用从文件中读取的条件中断循环

perl - 有没有办法并行拥有同一个 Perl 库的两个版本?

c++ - 使用正则表达式的条件组匹配

linux - 检查 Web 应用程序是否已启动

linux - 有没有类似 Linux 的 Windows 终端服务?

linux - 在 Dockerfile 中按 Enter 键

linux - 如何在XML文件中的单词后面添加变量内容

regex - 如何提取两个括号之间的内容?