User guide

Perl
37
The main site for the development of Ruby is hosted on http://www.ruby-lang.org. The http://www.ruby-
doc.org site also contains Ruby documentation.
3.3.9. Perl
The perl package adds support for the Perl programming language. This package provides Perl core
modules, the Perl Language Interpreter, and the PerlDoc tool.
Red Hat also provides various perl modules in package form; these packages are named with the
perl-* prefix. These modules provide stand-alone applications, language extensions, Perl libraries,
and external library bindings.
3.3.9.1. Perl Updates
Red Hat Enterprise Linux 6.0 ships with perl-5.10.1. If you are running an older system, rebuild or
alter external modules and applications accordingly in order to ensure optimum performance.
For a full list of the differences between the Perl versions refer to the following documents:
Perl 5.10 delta: http://perldoc.perl.org/perl5100delta.html
Perl 5.10.1 delta: http://perldoc.perl.org/perl5101delta.html
3.3.9.2. Installation
Perl's capabilities can be extended by installing additional modules. These modules come in the
following forms:
Official Red Hat RPM
The official module packages can be installed with yum or rpm from the Red Hat Enterprise Linux
repositories. They are installed to /usr/share/perl5 and either /usr/lib/perl5 for 32bit
architectures or /usr/lib64/perl5 for 64bit architectures.
Modules from CPAN
Use the cpan tool provided by the perl-CPAN package to install modules directly from the CPAN
website. They are installed to /usr/local/share/perl5 and either /usr/local/lib/perl5
for 32bit architectures or /usr/local/lib64/perl5 for 64bit architectures.
Third party module package
Third party modules are installed to /usr/share/perl5/vendor_perl and either /usr/lib/
perl5/vendor_perl for 32bit architectures or /usr/lib64/perl5/vendor_perl for 64bit
architectures.
Custom module package / manually installed module
These should be placed in the same directories as third party modules. That is, /usr/share/
perl5/vendor_perl and either /usr/lib/perl5/vendor_perl for 32bit architectures or /
usr/lib64/perl5/vendor_perl for 64bit architectures.
Warning
If an official version of a module is already installed, installing its non-official version can create
conflicts in the /usr/share/man directory.