2 ms·
These days I tend to compile my own perl using perlbrew, then run $ perlbrew install-cpanm $ cpanm install What::Ever This works nearly always, except
by perlgeek 6y ago
These days I tend to compile my own perl using perlbrew, then run
$ perlbrew install-cpanm
$ cpanm install What::Ever
This works nearly always, except when header files or C libraries are missing on the system (like you need libpq-dev on Debian/Ubuntu to install DGD::Pg, the postgresql database connector).
With the system perl, local::lib also works, but it's a bit fiddly to set up initially.