Run cpan
interactively:
o conf makepl_arg INSTALL_BASE=/home/regular/perl
o conf mbuildpl_arg=/home/regular/perl
o conf commit
o conf commit
writes to ~/.cpan/CPAN/MyConfig.pm
https://stackoverflow.com/a/543918/13762488 answered by Brian d Foy in 2009
If the @INC
directory not specified via the environment variable, cpan
fails cannot configuring the installed module, this seem to affect the dependency resolution:
PERL5LIB=/home/regular/perl/lib/perl5 \
cpan -T \
Crypt::OpenSSL::Guess \
Crypt::OpenSSL::AES \