Install Perl Modules Using CPAN

Comprehensive Perl Archive Network (CPAN) is a directory of Perl modules. To install a perl module, run

cpan

In the cpan command prompt, you can type

install MODUE_NAME

Example

install Term::ReadKey

You can also use

cpan install Term::ReadKey

List instaled CPAN modules

cpan -l
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *