Unable to install XML module (145 Views)
Occasional Visitor
Posts: 1
Registered: ‎09-04-2005
Message 1 of 3 (145 Views)

Unable to install XML module

Hi all,
I am getting this problem while trying to use XML module in my script.

Script :
use XML::Simple ;
exit 0 ;

Error :
Can't locate XML/Simple.pm in @INC (@INC contains: C:/PROGRA~1/MKSTOO~1/etc/perl
/lib C:/PROGRA~1/MKSTOO~1/etc/perl/lib C:/PROGRA~1/MKSTOO~1/etc/perl/lib/site_pe
rl .) at XMLRead.pl line 3.
BEGIN failed--compilation aborted at XMLRead.pl line 3.

When I tried to install its giving this error
Error: No valid repositories:
Error: 500 Can't connect to ppm.ActiveState.com:80 (connect: Unknown error)
Error: 500 Can't connect to ppm.ActiveState.com:80 (connect: Unknown error)

Pls suggest me how to get rid of this ?

Frequent Advisor
Posts: 80
Registered: ‎03-21-2002
Message 2 of 3 (145 Views)

Re: Unable to install XML module

What version of Perl are you using.

My understanding is that most of the recent releases install this module by default.

The simplist option my just be to upgrade.

Answers to my questions elsewhere on this forum lead me to believe that many of the XML modules for Perl have significant bug fixes in later versions.

In my case getting an upgrade done was going to take too long so I wrote my own simple parser based on assumptions about the XML I had to look at.

I realise this is not very specific for your problem but I figured it may help a bit.
Behold the turtle for he makes not progress unless he pokes his head out.
Trusted Contributor
Posts: 288
Registered: ‎01-14-2003
Message 3 of 3 (145 Views)

Re: Unable to install XML module

before you attempted to re-install did you removed perl. if not? I will swremove to get rid of any corrupt file. Then I will re0install perl with the default configuration.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.