CPAN (The Module Archive)

The preceding commands tell you all about the installed modules; but what about the uninstalled ones? If you do any serious programming in Perl,you quickly learn that many modules are available to help you. Unfortunately, you have to download and install most of them.

The Perl people have set up a repository called CPAN (Comprehensive Perl Archive Network), which contains almost all the modules ever written for Perl.

You can access this archive through the web at http://cpan.perl.org. Figure 1.1 shows the top-level CPAN web page.

Figure 1.1. CPAN.

There are several different ways of searching this archive. This example ...

Get Perl for C Programmers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.