The Perl package contains the Practical Extraction and Report Language.
A security vulnerability exists in Perl's sprintf function. Apply the following patch to fix it.
patch -Np1 -i ../perl-5.8.7-sprintf_vulnerability-1.patch
The DB_File module that comes with Perl-5.8.7 is incompatible with Berkeley DB-4.4.16 (the testsuite fails if this module gets built). Apply the following patch in order to update the DB_File module:
patch -Np1 -i ../perl-5.8.7-update_db_file-1.patch
First create a basic /etc/hosts file which will be referenced in one of Perl's configuration files as well as being used used by the testsuite if you run that.
echo "127.0.0.1 localhost $(hostname)" > /etc/hosts
To have full control over the way Perl is set up, run the interactive Configure script and hand-pick the way this package is built. If the defaults it auto-detects are suitable, prepare Perl for compilation with:
./configure.gnu --prefix=/usr -Dpager="/usr/bin/less -isR"
The meaning of the configure options:
This corrects an error in the way that perldoc invokes the less program.
Compile the package:
make
Now run the tests, if desired:
make test
Install the package:
make install