Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Why is cpanm installing Perl5 modules in the wrong spot?by hippo (Bishop) |
on Feb 07, 2021 at 17:17 UTC ( [id://11128021]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|