Using the Perl Package Manager

The Perl Package Manager (PPM) provides a command-line interface for obtaining and installing Perl modules and extensions. To run PPM, connect to CPAN and type:

perl ppm.pl

The PPM prompt appears, and you can begin to enter PPM commands. The available commands are:

help [ command ]

Prints the list of commands and what they do, or help for a particular command.

install packages

Installs the specified packages.

quit

Leaves PPM.

remove packages

Removes the specified packages from the system.

search

Searches for information about available packages.

set

Sets or displays current options.

verify

Verifies that your current installation is up-to-date.

Get Perl in a Nutshell, 2nd Edition 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.