开发者

Is XML::LibXML not supported on Perl 5.8.8?

开发者 https://www.devze.com 2023-02-18 20:44 出处:网络
I answered a question on SO a while back where I initially suggested using XML::DOM. After mirod suggested that I use XML::LibXML instead, I implemented it. And to be honest, it works great on my syst

I answered a question on SO a while back where I initially suggested using XML::DOM. After mirod suggested that I use XML::LibXML instead, I implemented it. And to be honest, it works great on my system. I saw my runtime drop drastically with the new module without doing any additional optimizations.

Now the tricky part, for some reason the module doesn't even install on my colleagues sys开发者_运维技巧tem.

ppm install xml-libxml returns: Downloading ActiveState Package Repository packlist...not modified ppm install failed: Can't find any package that provide xml-libxml

The only difference I could find between the two machines was that I was using AS Perl v5.12.1 and he is on AS perl V5.8.8.

Is xml-libxml supported on AS Perl v5.8.8?

Also, I visited the Active State PPM index and that seems to indicate that its broken on 5.8 all the way through to 5.12.

Does anybody have any experience with this module? Should I roll back to XML::DOM - which with its slow performance and not being actively maintained, at least installed and worked?

Any pointers would be really appreciated.


I found that I have to add a repository, like the uwinnipeg repo http://theoryx5.uwinnipeg.ca/ppms/, when I am trying to install XML-LibXML on windows. Might be your problem too.


Use http://kobesearch.cpan.org/ to find repositories that have your desired ppms.


Also see my post on a different thread regarding how I was able to install XML-LibXML with ActivePerl 5.8.8.

In short, you can find the appropriate package in the corresponding uwinnipeg repository. NOTE see http://theoryx5.uwinnipeg.ca/ppms/ for the correct repository version to use, and XML-LibXML-Common MUST be installed first. Also, make sure you have the prerequisite DLLs installed before installing XML-LibXML via PPM.

0

精彩评论

暂无评论...
验证码 换一张
取 消