CPAN – Comprehensive Perl Archive Network

cpan provide large collection of open source perl modules.

https://www.cpan.org/

To install a perl module from cpanel, run

cpan -i MODULE-NAME

Example

[root@ip-72-167-202-44 ~]# cpan -i Try::Tiny
Loading internal null logger. Install Log::Log4perl for logging messages
CPAN: Storable loaded ok (v2.20)
Reading '/root/.cpan/Metadata'
  Database was generated on Sat, 13 May 2017 22:54:08 GMT
CPAN: LWP::UserAgent loaded ok (v6.26)
CPAN: Time::HiRes loaded ok (v1.9721)
Fetching with LWP:
http://cpan.mirrors.ionfish.org/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v1.23)
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.074)
............................................................................DONE
Fetching with LWP:
http://cpan.mirrors.ionfish.org/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Tue, 16 May 2017 18:53:49 GMT
............................................................................DONE
Fetching with LWP:
http://cpan.mirrors.ionfish.org/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
CPAN: Module::CoreList loaded ok (v2.18)
Try::Tiny is up to date (0.28).
[root@ip-72-167-202-44 ~]# 

Posted in Linux