http://www.perlmonks.org?node_id=162576


in reply to Trouble installing Tk using ppm.

I used to get that error message, and my solution, was to always "search" for a module before I install it.
ppm> search Tk
If that doesn't work, it usually means I've used ppm3 before, which usually messes up my ppm set up, so I check, by typing
ppm>set rep
to see what kind of repositories I have set up, and it usually tells me I have none, so I issue
ppm>set rep default http://www.ActiveState.com/cgibin/PPM/ppmserver.pl +ex?urn:/PPMServer
which is the default PPM package repository after which i
ppm> search Tk
again , at which point everything is back to normal and I can safely
ppm>install Tk
which usually ( %95 of the time ) works.