7

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,807
  • 6
  • 30
  • 50
venkatappa jv
  • 81
  • 2
  • 2
  • 3

3 Answers3

16

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,452
  • 9
  • 18
3

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

Mladen B.
  • 2,784
  • 2
  • 23
  • 34
1

Please try it:

ppm install XML-LibXML

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

Andy
  • 338
  • 3
  • 10