Installing Modules

There are several different ways of installing modules, including the following:

  • Manual installation— You download the modules and then manually execute the commands to compile and install it yourself. This method is generally only used if the other methods fail.

  • CPAN module— A module called CPAN can download and install the modules for you. This method is primarily used on UNIX systems.

  • PPM (Perl Package Manager)— This system automatically downloads and installs packages. The ppm command comes standard with ActiveState Perl for Microsoft Windows and is primarily used on that system.

Which method you need to use depends on your operating system and environment. For step-by-step instructions, see the “Cookbook” section later ...

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.