Maxim Abalenkov <
maxim.a...@gmail.com> writes:
> Now everything works. But I still don’t understand the setup very
> well. What is the difference between the ‘.cpan’ and ‘perl5’
> directories? What is their purpose? Thank you and have a great day
> ahead!
The directory ~/.cpan/ is where the command `cpan` saves its local
states, intermediate files, download cache, configurations... etc.
The directory ~/perl5/ is a conventional place where local::lib-based
installations are stored. It is where local::lib code would look find
some receipts of what's installed inside and print out those env vars
as the mechnism to tell `perl` to also find modules under ~/perl5/.
--
Cheers,
Kang-min Liu