6

I installed Strawberry Perl on my windows XP operating system. Later I tried to execute the .XML file but it's throwing error as below. I also tried Active Perl and also getting the same error.

I am running the following code in the command prompt:

C:> perl xcp_conf.pl FILENAME.xml

ERROR: can't locate XML/LibXML.pm in @INC contains: C:/Perl/site/Lib C:/perl/Lib at xcp_conf.pl

Could you please tell me where to download the above file? How to install that package?

psxls
  • 6,577
  • 6
  • 27
  • 49
venkatappa jv
  • 71
  • 2
  • 2
  • 3

3 Answers3

13

try this :

perl -MCPAN -e shell
# at prompt type in :  install XML::LibXML

another way is to use ppm and select package you are interested.

michael501
  • 1,354
  • 8
  • 17
2

You can also install it using CPAN: cpan XML::LibXML

Mladen B.
  • 2,297
  • 2
  • 18
  • 30
1

Please try it:

ppm install XML-LibXML

For more details: https://code.activestate.com/ppm/XML-LibXML/

Anand Choubey
  • 198
  • 1
  • 9