run it as a root or with the --sudo option
FWIW, I would always use --sudo instead of running cpanm with elevated privs so that the build and test phases are run as the unprivileged user. It is only the installation into the protected directories which requires root access and that's what --sudo does. You are still trusting the module author for that final installation phase, of course.
🦛
In reply to Re^2: Why is cpanm installing Perl5 modules in the wrong spot?
by hippo
in thread Why is cpanm installing Perl5 modules in the wrong spot?
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |