perlcpanm

How to force cpanm to use HTTPS insted of Using HTTP for installing dependencies


Hi I am trying to install perl modules using cpanm.But my firewall is not letting the cpanm to use http. Even when I am forcing it to use https using the --mirror option, its still uses http to install the dependencies. How can i force cpanm to use only https://mirror-address .

Perl Version 5.16.3
Cpanm Version 1.6922

Solution

  • From the documentation:

    cpanm --from https://cpan.metacpan.org/ Plack    # use only the HTTPS mirror