So I don't even need a PERL5LIB at all?
Correct.
PERL_MM_OPT and PERL_MB_OPT should be unset. That way, modules will be installed in the default directory for the perl being used.
And since you're installing modules in the default directory for the perl being used, you don't need to tell Perl where to look, so PERL5LIB should also be unset.
Finally, make sure you used the correct perl (e.g. by using the cpan installed by it) when installing modules.
If you have any further questions, please provide the output of perl -V:'inst.*' (capital "V") so I can provide concrete examples.
In reply to Re^5: what should be in PERL5LIB after installing from source the 5.40.1 version on MacOS (am64)
by ikegami
in thread what should be in PERL5LIB after installing from source the 5.40.1 version on MacOS (am64)
by kwolcott
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |