Perl Module

What is a Perl Module?

A Perl module is an "addon" for the Perl programming language.

Perl modules extend the capabilities of the language.

The modules are essentially a set of related functions contained in a library file. They are specifically designed to be reusable by other modules or programs.

Some Perl modules are included with every distribution of Perl. These are referred to as "core" modules.

Additional Perl modules can be readily installed to an installation of Perl.

There are currently over 212,000 Perl modules available through CPAN.

Instructions for installing Perl modules may be found in the KB article: How to install Perl modules.

Some Perl modules require other Perl modules in order to function. These are called "dependencies".

When installing a Perl module, any dependencies which the module being installed requires are also installed.

Related Terms

    Glossary »