Use cpanminus.
To install:
sudo curl -L http://cpanmin.us | perl - --sudo App::cpanminus
To use: sudo cpanm <module to install>
Here's the official documentation:
http://search.cpan.org/~miyagawa/App-cpanminus-1.7012/lib/App/cpanminus.pm
On 10/4/14, 8:32 PM, Benjamin Fernandis wrote:
Hi,
Many times I face problem with module installation and then have to go
to google and apply trial and error to resolve this permanently, could
u please suggest me best and correct method to get resolved it?
i mean if i installed centos 7 freshly then what are pre-requisites
from OS side to get perl module installation successfully. What steps
require to follow?
Previously i tried cpanm and cpan console but some times faced
installation faild error.
Is there any specific guideline to resolve this problem? I am using
centos based distro.
Regards
Ben