Perl 5.8.8不支持XML :: LibXML吗? [英] Is XML::LibXML not supported on Perl 5.8.8?

查看:108
本文介绍了Perl 5.8.8不支持XML :: LibXML吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在某段时间回答了问题最初建议使用XML :: DOM.在 mirod 建议我改用XML :: LibXML之后,我实现了它.老实说,它在我的系统上效果很好.我发现新模块的运行时间大大减少,而没有进行任何其他优化.

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 system.

ppm install xml-libxml返回: 下载ActiveState程序包 存储库装箱单...未修改的ppm 安装失败:找不到任何软件包 提供xml-libxml

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

两台机器之间唯一的区别是我使用的是AS Perl v5.12.1,而他使用的是AS perl V5.8.8.

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.

AS Perl v5.8.8是否支持xml-libxml?

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

我还访问了活动状态 PPM索引,这似乎表明它从5.8一直到5.12都被破坏了.

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.

有人对这个模块有经验吗? 我应该回退到XML :: DOM-它​​的性能较慢并且没有得到积极的维护,至少可以安装并正常工作吗?

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?

任何指针将不胜感激.

推荐答案

我发现我必须添加一个存储库,例如uwinnipeg回购 http://theoryx5.uwinnipeg.ca/ppms/,当我尝试在Windows上安装XML-LibXML时.可能也是您的问题.

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.

这篇关于Perl 5.8.8不支持XML :: LibXML吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆