How to install CPAN modules on mageia 4? I am struggling to find out to achieve this.
any help is appreciated..
How to install CPAN modules on mageia 4? I am struggling to find out to achieve this.
any help is appreciated..
First you probably don't need to, just install the package.
For example perl-WWW-Mechanize is the one for WWW::Mechanize. You should use rpmdrake or urpmi to find the package providing the module you want.
$ urpmf --provides --literal 'perl(WWW::Mechanize)'
perl-WWW-Mechanize:perl(WWW::Mechanize)[== 1.730.0]
If you want to be able to use the cpan command, you need to install perl-devel package.