%general-entities; ]> perl &perl-version;
&perl-url;
Perl-&perl-version; Perl <para>The Perl package contains the Practical Extraction and Report Language.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&perl-ch6-sbu;</seg> <seg>&perl-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Perl First create a basic /etc/hosts file to be referenced in one of Perl's configuration files as well as the optional testsuite: echo "127.0.0.1 localhost $(hostname)" > /etc/hosts The following patch fixes known vulnerabilities and other issues identified by the developers: patch -Np1 -i ../&perl-consolidated-patch; This version of Perl now builds the Compress::Raw::Zlib module. By default Perl will use an internal copy of the Zlib source for the build. Issue the following command so that Perl will use the Zlib library installed on the system: sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \ -e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \ -e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \ ext/Compress/Raw/Zlib/config.in To have full control over the way Perl is set up, you can run the interactive Configure script and hand-pick the way this package is built. If you prefer, you can use the defaults that Perl auto-detects, by preparing Perl for compilation with: sh Configure -des -Dprefix=/usr \ -Dvendorprefix=/usr \ -Dman1dir=/usr/share/man/man1 \ -Dman3dir=/usr/share/man/man3 \ -Dpager="/usr/bin/less -isR" The meaning of the configure options: -Dvendorprefix=/usr This ensures perl knows how to tell packages where they should install their perl modules. -Dpager="/usr/bin/less -isR" This corrects an error in the way that perldoc invokes the less program. -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 Since Groff is not installed yet, Configure thinks that we do not want man pages for Perl. Issuing these parameters overrides this decision. Compile the package: make To test the results (approximately 2.5 SBU), issue: make test Install the package: make install Contents of Perl Installed programs Installed libraries a2p, c2ph, cpan, dprofpp, enc2xs, find2perl, h2ph, h2xs, instmodsh, libnetcfg, perl, perl&perl-version; (link to perl), perlbug, perlcc, perldoc, perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text, pod2usage, podchecker, podselect, prove, psed (link to s2p), pstruct (link to c2ph), s2p, splain, and xsubpp Several hundred which cannot all be listed here Short Descriptions a2p Translates awk to Perl a2p c2ph Dumps C structures as generated from cc -g -S c2ph cpan Interact with the Comprehensive Perl Archive Network (CPAN) from the command line cpan dprofpp Displays Perl profile data dprofpp enc2xs Builds a Perl extension for the Encode module from either Unicode Character Mappings or Tcl Encoding Files enc2xs find2perl Translates find commands to Perl find2perl h2ph Converts .h C header files to .ph Perl header files h2ph h2xs Converts .h C header files to Perl extensions h2xs instmodsh Shell script for examining installed Perl modules, and can even create a tarball from an installed module instmodsh libnetcfg Can be used to configure the libnet libnetcfg perl Combines some of the best features of C, sed, awk and sh into a single swiss-army language perl perl&perl-version; A hard link to perl perl&perl-version; perlbug Used to generate bug reports about Perl, or the modules that come with it, and mail them perlbug perlcc Generates executables from Perl programs perlcc perldoc Displays a piece of documentation in pod format that is embedded in the Perl installation tree or in a Perl script perldoc perlivp The Perl Installation Verification Procedure; it can be used to verify that Perl and its libraries have been installed correctly perlivp piconv A Perl version of the character encoding converter iconv piconv pl2pm A rough tool for converting Perl4 .pl files to Perl5 .pm modules pl2pm pod2html Converts files from pod format to HTML format pod2html pod2latex Converts files from pod format to LaTeX format pod2latex pod2man Converts pod data to formatted *roff input pod2man pod2text Converts pod data to formatted ASCII text pod2text pod2usage Prints usage messages from embedded pod docs in files pod2usage podchecker Checks the syntax of pod format documentation files podchecker podselect Displays selected sections of pod documentation podselect prove Command line tool for running tests against the Test::Harness module. prove psed A Perl version of the stream editor sed psed pstruct Dumps C structures as generated from cc -g -S stabs pstruct s2p Translates sed scripts to Perl s2p splain Is used to force verbose warning diagnostics in Perl splain xsubpp Converts Perl XS code into C code xsubpp