Re: [install and use local::lib module]
[email protected] (Kang-min Liu) Fri, 16 Feb 2024 07:38:58 +0900
| Newsgroups | perl.beginners |
|---|---|
| Message-ID | <[email protected]> |
Maxim Abalenkov <[email protected]> writes: > Now everything works. But I still don=E2=80=99t understand the setup very > well. What is the difference between the =E2=80=98.cpan=E2=80=99 and =E2= =80=98perl5=E2=80=99 > 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