Install Perl Modules Using CPAN
Comprehensive Perl Archive Network (CPAN) is a directory of Perl modules. To install a perl module, run
1 |
cpan |
In the cpan command prompt, you can type
1 |
install MODUE_NAME |
Example
1 |
install Term::ReadKey |
You can also use
1 |
cpan install Term::ReadKey |
List instaled CPAN modules
1 |
cpan -l |