Can't locate XML/LibXML.pm

venkatappa jv picture venkatappa jv · Oct 10, 2013 · Viewed 19.5k times · Source

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?

Answer

michael501 picture michael501 · Oct 10, 2013

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.