0

Gettin below error while running my perl file

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 module(0.14) is installed. From command line when i run command

 perl -e HTML::TreeBuilder::XPath it doesn't give any error.

when i run from command line perldoc -l HTML::TreeBuilder::XPath gives below error:

No documentation found for "HTML::TreeBuilder::XPath".

My perl version is 5.8.7

LeoNerd
  • 8,344
  • 1
  • 29
  • 36
Cindrella
  • 1,671
  • 7
  • 27
  • 47

1 Answers1

1

First cross check does this module is really installed ? I think it is not installed, install it from cpan.

Mandar Pande
  • 12,250
  • 16
  • 45
  • 72