CPAN error: failed with code[400] message[URL must be absolute}

While I was trying to install Imager::QRCode using cpan, I have this problem: failed with code[400] message[URL must be absolute]

Searching online I found that my urllist for cpan is empty. To correct problem:

run this command with in cpan O conf urllist push "Your_cpan_mirror_url" for example,

S sudo cpan

cpan> o conf urllist push http://cpan.yahoo.com/

Here are other o conf related commands for use:

To view the urllist: o conf urllist

To remove the first url from the urllist: o conf urllist shift

To save the configuration after you made modification: o conf commit

No comments:

Post a Comment

Datatable static image not found on the server

When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...