Perl

From UMIACS
Revision as of 13:49, 23 October 2024 by Mbaney (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more. The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal). Its major features are that it's easy to use, supports both procedural and object-oriented (OO) programming, has powerful built-in support for text processing, and has one of the world's most impressive collections of third-party modules.

Perl Versions

While most modern operating systems ship with a version of Perl, UMIACS also maintains multiple versions.

RHEL

For Red Hat Enterprise Linux (RHEL), different versions of Perl can be found via Modules.
The versions in /usr have PerlLocalLib support to allow users an easy way to install and maintain their own perl modules:

Ubuntu

For Ubuntu hosts, different version of Perl can be install through the Ubuntu Software Center.
The versions in /usr and /opt have PerlLocalLib support to allow users an easy way to install and maintain their own perl modules:

Windows

ActiveState Perl can be installed on UMIACS-supported Windows hosts upon request. Contact staff for details.

If you find that you need a version of Perl that is not readily available, you can always build it from source.

Installing Modules

In order to ensure backwards compatibility and functionality, we prefer that users create their own installations of perl modules so that we can keep the central versions of Perl as vanilla as possible. The following instructions will show you how to setup and install local copies of Perl Modules.

Documentation

You can find full documentation for any version of Perl at http://www.cpan.org/modules/INSTALL.html. You can also find Perl tutorials (which can be fonud under the Manuals menu).