运行我的perl文件时出现以下错误
Can't locate HTML/TreeBuilder/XPath.pm in @INC (@INC contains: C:/Perl/lib C:/Pe
rl/site/lib .) at display.pl line 4.
BEGIN failed--compilation aborted at display.pl line 4.
安装了HTML :: TreeBuilder :: XPath模块(0.14)。从命令行运行命令
perl -e HTML::TreeBuilder::XPath it doesn't give any error.
当我从命令行运行时perldoc -l HTML :: TreeBuilder :: XPath给出了以下错误:
No documentation found for "HTML::TreeBuilder::XPath".
我的perl版本是5.8.7
答案 0 :(得分:1)
首次交叉检查确实已经安装了这个模块吗?我认为它没有安装,请从cpan
安装。