问题
I am using Perl to extract pubmed abstracts. I want to use XML::LibXML
but when i tried to install using ppm install I got the following error
Can't connect to theoryx5.uwinnipeg.ca/ppms/package bad hostname
I tried to open through browser but this page cannot load.
Can anybody please help
回答1:
This repository is either down or gone for good. Use another repository. PPM::Repositories can set them up for you. Better yet, use cpan
to install modules:
cpan XML::LibXML
If you don't have a compiler PPM can get one for you:
PPM MinGW
Unless you're running a 64bit ActiveState. They don't support 64bit well. See this chart. Better still, move to a sensible Perl distribution like Strawberry, comes with all the development tools you really need, supports cpan and PPM installation out of the box, proper 32/64 bit builds and stacks of modules already installed.
来源:https://stackoverflow.com/questions/26216297/perl-ppm-packages-cannot-connect-to-http-theoryx5-uwinnipeg-ca-ppms-package