Perl Module Installation

The installation of Perl modules varies by Perl distribution. If you’re using an ActiveState Perl distribution, the installation is very easy. If you’re using another distribution of Perl, such as a version that was delivered with your operating system or a Perl binary that you compiled from source, there may be an additional step or two in the process, but it is still fairly straightforward. Let’s take a look at these two cases and discuss how to install a Perl module.

Standard Perl Module Installation

Standard module installation can be performed in two ways: either with a manual install or by using the CPAN.pm module. Let’s take a look at the manual installation first.

Manual Perl Module Installation

The standard ...

Get XML and Perl 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.