Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to install XML module

ALOK NATH
Occasional Visitor

Unable to install XML module

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

Script :
#!/usr/bin/perl
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 ?

Thanx,
Alok
2 REPLIES
Daavid Turnbull
Frequent Advisor

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.
Highlighted
Juan M Leon
Trusted Contributor

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.