Hi, zapatafa
On OS X it is highly recommended (by Apple as well as by users) to leave the system installation of Perl completely alone (don't even install any modules to it) and use a local installation for your development work.
The easiest way to do this is to install Perlbrew (and friends) and let it handle managing your perls. Take a couple of minutes to read the instructions there and you'll have it up and running in no time. Once you are using Perlbrew you can install a new version of Perl (or any number of different ones) and perlbrew switch to it; then any modules you install will be in your local home directory and you won't need to become root to install them. This will simplify your life going forward.
When you do this pay attention to the configuration of App::cpanminus and/or CPAN.pm, as the cause of your original problem is almost certainly, as you suspected, an error therein, particularly in the list of CPAN mirror sites to check for modules.
You can see what mirrors you currently have configured by looking for urllist in the output of the OS shell command
or, if you prefer the CPAN shell, with$ cpan -J
cpan[1]> o conf
Hope this helps!
edit: show how to examine current CPAN conf.
In reply to Re: How do I install the Tk module
by 1nickt
in thread How do I install the Tk module
by zapatafa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |