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

Comments

Leave a Reply

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