%general-entities; ]> $LastChangedBy$ $Date$ Perl Modules Perl modules Introduction to Perl Modules The Perl module packages add useful objects to the Perl language. Modules utilized by packages throughout BLFS are listed here, along with their dependencies. Installation of the modules shown on this page should be accomplished by installing the dependencies in the order listed. The Perl Module standard build and installation instructions are shown at the bottom of this page. Archive::Zip-&Archive-Zip-version; Archive::Zip The Archive::Zip module allows a Perl program to create, manipulate, read, and write Zip archive files. This module uses the standard . &lfs76_checked; Archive::Zip-&Archive-Zip-version; http://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-&Archive-Zip-version;.tar.gz MD5 sum: 851316e59625317a89e40418a26c676c autovivification-&autovivification-version; autovivification The autovivification module allows you to lexically disable autovivification. This module uses the standard . &lfs76_checked; autovivification-&autovivification-version; http://www.cpan.org/authors/id/V/VP/VPIT/autovification-&autovivification-version;.tar.gz MD5 sum: bf0f5133a32685218e8d7ad1aba02deb Business::ISBN-&Business-ISBN-version; Business::ISBN The Business::ISBN module is for work with International Standard Book Numbers. This module and its dependency use the standard . &lfs76_checked; Business::ISBN-&Business-ISBN-version; http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-&Business-ISBN-version;.tar.gz MD5 sum: 5ebf339c409d99cdfa6f96974ef96780 Business::ISBN::Data (http://search.cpan.org/~bdfoy/Business-ISBN-Data/) Business::ISMN-&Business-ISMN-version; Business::ISMN The Business::ISMN module is for work with International Standard Music Numbers. This module uses the standard . &lfs76_checked; Business::ISMN-&Business-ISMN-version; http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISMN-&Business-ISMN-version;.tar.gz MD5 sum: b8228688f2cfa0c629c8d0cbf88421ff Tie::Cycle (http://search.cpan.org/~bdfoy/Tie-Cycle/) Business::ISSN-&Business-ISSN-version; Business::ISSN The Business::ISSN module is for work with International Standard Serial Numbers. This module uses the standard . &lfs76_checked; Business::ISSN-&Business-ISSN-version; http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISSN-&Business-ISSN-version;.tar.gz MD5 sum: d1f609422d3a0ad5e301ae694d142fe4 Data::Compare-&Data-Compare-version; Data::Compare The Data::Compare module compares two perl data structures. This module and its dependencies use the standard . &lfs76_checked; Data::Compare-&Data-Compare-version; http://www.cpan.org/authors/id/D/DC/DCANTRELL/Data-Compare-&Data-Compare-version;.tar.gz MD5 sum: 45d56aa548581d7e4406f665c417d31e File::Find::Rule (http://search.cpan.org/~rclamp/File-Find-Rule/) Number::Compare (http://search.cpan.org/dist/Number::Compare/) Text::Glob (http://search.cpan.org/dist/Text::Glob/) Date::Simple-&Date-Simple-version; Date::Simple Date::Simple provides a simple date object. This module uses the standard . &lfs76_checked; Date::Simple-&Date-Simple-version; http://www.cpan.org/authors/id/I/IZ/IZUT/Date-Simple-&Date-Simple-version;.tar.gz MD5 sum: 436049dc2c7dfd8423d8bcc807248b31 Encode::EUCJPASCII-&Encode-EUCJPASCII-version; Encode-EUCJPASCII Encode::EUCJPASCII provides an eucJP-open mapping. This module uses the standard . &lfs76_checked; Encode-EUCJPASCII-&Encode-EUCJPASCII-version; http://www.cpan.org/authors/id/N/NE/NEZUMI/Encode-EUCJPASCII-&Encode-EUCJPASCII-version;.tar.gz MD5 sum: 5daa65f55b7c2050bb0713d9e95f239d Encode::HanExtra-&Encode-HanExtra-version; Encode::HanExtra The Encode::HanExtra module provides extra sets of Chinese Encodings. This module uses the standard . &lfs76_checked; Encode::HanExtra-&Encode-HanExtra-version; http://www.cpan.org/authors/id/A/AU/AUDREYT/Encode-HanExtra-&Business-ISSN-version;.tar.gz MD5 sum: e1d3bc32c1c8ee304235a06fbcd5d5a4 Encode::JIS2K-&Encode-JIS2K-version; Encode::JIS2K The Encode::JIS2K module provides JIS X 0212 (aka JIS 2000) Encodings. This module uses the standard . &lfs76_checked; Encode::JIS2K-&Encode-JIS2K-version; http://www.cpan.org/authors/id/D/DA/DANKOGAI/Encode-JIS2K-&Business-ISSN-version;.tar.gz MD5 sum: 00e73ee943fb2f882b00b7b61e4c9db1 File::Slurp-&File-Slurp-version; File::Slurp The File::Slurp module provides Simple and Efficient Reading/Writing/Modifying of Complete Files. This module uses the standard . &lfs76_checked; File::Slurp-&File-Slurp-version; http://www.cpan.org/authors/id/U/UR/URI/File-Slurp-&Business-ISSN-version;.tar.gz MD5 sum: 7d584cd15c4f8b9547765eff8c4ef078 File::Which-&File-Which-version; File::Which File::Which provides a portable implementation of the 'which' utility. This module and its dependencies use the standard . &lfs76_checked; File::Which-&File-Which-version; http://www.cpan.org/authors/id/A/AD/ADAMK/File-Which-&File-Which-version;.tar.gz MD5 sum: b9429edaad7f45caafa4d458afcfd8af Test::Script (http://search.cpan.org/dist/Test-Script/) Probe-Perl (http://search.cpan.org/dist/Probe-Perl/ HTML::Parser-&HTML-Parser-version; HTML::Parser The HTML::Parser distribution is a collection of modules that parse and extract information from HTML documents. This module and the dependency modules use the standard . &lfs76_checked; HTML::Parser-&HTML-Parser-version; http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-&HTML-Parser-version;.tar.gz MD5 sum: 9128a45893097dfa3bf03301b19c5efe HTML::Tagset (http://search.cpan.org/~petdance/HTML-Tagset/) (circular; howevever, it can be installed after HTML::Parser as it is only a run-time requirement for the included HTML::HeadParser module) IPC::Run3-&IPC-Run3-version; IPC-Run3 The IPC::Run3 module is used to run a subprocess with input/ouput redirection. This module uses the standard . &lfs76_checked; IPC-Run3-&IPC-Run3-version; http://www.cpan.org/authors/id/R/RJ/RJBS/IPC-Run3-&Business-ISSN-version;.tar.gz MD5 sum: 5a8cec571c51a118b265cf6e24e55761 libwww-perl-&LWP-version; (a.k.a. LWP) libwww-perl The libwww-perl (LWP) collection is a set of Perl modules which provide a simple and consistent application programming interface to the World-Wide Web. The main focus of the library is to provide classes and functions that allow you to write WWW clients. The library also contains modules that are of more general use and even classes that help you implement simple HTTP servers. The LWP collection and all its dependency modules use the standard . The dependencies should be installed in the order listed below. Ensure you install the dependency chain for each module before installing the modules. &lfs76_checked; libwww-perl-&LWP-version; http://cpan.org/authors/id/M/MS/MSCHILLI/libwww-perl-&LWP-version;.tar.gz MD5 sum: 28e5005609af16c1fa297d12e0312f86 Encode::Locale (http://search.cpan.org/~gaas/Encode-Locale/) HTML::Form (http://search.cpan.org/~gaas/HTML-Form/) HTTP::Message (http://search.cpan.org/~gaas/HTTP-Message/) HTTP::Date (http://search.cpan.org/~gaas/HTTP-Date/) IO::HTML (http://search.cpan.org/~cjm/IO-HTML/) LWP::MediaTypes (http://search.cpan.org/~gaas/LWP-MediaTypes/") HTTP::Cookies (http://search.cpan.org/~gaas/HTTP-Cookies/) HTTP::Negotiate (http://search.cpan.org/~gaas/HTTP-Negotiate/) Net::HTTP (http://search.cpan.org/~gaas/Net-HTTP/) WWW::RobotRules (http://search.cpan.org/~gaas/WWW-RobotRules/) HTTP::Daemon (http://search.cpan.org/~gaas/HTTP-Daemon/) File::Listing (http://search.cpan.org/~gaas/File-Listing/) After the LWP installation, if you want HTTPS protocol support, install the following (application and modules): LWP::Protocol::https (http://search.cpan.org/~gaas/LWP-Protocol-https/) IO::Socket::SSL (http://search.cpan.org/~behroozi/IO-Socket-SSL/) Net::SSLeay (http://search.cpan.org/dist/Net-SSLeay/) Mozilla::CA (http://search.cpan.org/~abh/Mozilla-CA/) List::AllUtils-&List-AllUtils-version; List::AllUtils The List::Allutils module combines List::Util and List::MoreUtils in one bite-sized package. This module and its dependencies use the standard . This package will fail (tests, but not for any obvious reason, and at runtime) if the core module List::Util is older than 1.31, as happens with e.g. with perl-5.18.2 from LFS-7.5. To test the version, you can run the following command strings /usr/lib/perl5/5.*/*/auto/List/Util/Util.so | grep v5 -A 1 | tail -n 1 and if necessary install Scalar::List::Utils (http://search.cpan.org/dist/Scalar-List-Utils/) to get a newer version of that module without updating all of perl. &lfs76_checked; List::AllUtils-&List-AllUtils-version; http://www.cpan.org/authors/id/D/DR/DROLSKY/List-AllUtils-&List-AllUtils-version;.tar.gz MD5 sum: 3e2dfeeef80c4e1952443c6b7d48583c Number::Compare (http://search.cpan.org/dist/Number::Compare/) Text::Glob (http://search.cpan.org/dist/Text::Glob/) Log-Log4perl-&Log-Log4perl-version; (a.k.a. Log::Log4perl) Log-Log4perl Log-Log4perl provides a Log4j implementation for perl. This module uses the standard . &lfs76_checked; Log-Log4perl-&Log-Log4perl-version; http://www.cpan.org/authors/id/M/MS/MSCHILLI/Log-Log4perl-&Log-Log4perl-version;.tar.gz MD5 sum: d247d2327d7f32dca09cbeb51a953fc5 Net::DNS-&Net-DNS-version; Net::DNS Net::DNS is a DNS resolver implemented in Perl. It can be used to perform nearly any type of DNS query from a Perl script. The Net::DNS module and all its dependencies are installed using the standard . &lfs76_checked; Net::DNS-&Net-DNS-version; http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-&Net-DNS-version;.tar.gz MD5 sum: 26375d4310beb108b0e2b3bf30403ee5 Digest::HMAC (http://search.cpan.org/~gaas/Digest-HMAC/) IO::Socket::INET6 (http://search.cpan.org/~shlomif/IO-Socket-INET6-2.72/) IO::Socket::INET (http://search.cpan.org/~gbarr/IO/lib/IO/Socket/INET.pm) (required for IPv6 support) Socket6 (http://search.cpan.org/~umemoto/Socket6/) Readonly::XS-&Readonly-XS-version; Readonly::XS The Readonly::XS module is a companion module for Readonly.pm, to speed up read-only scalar variables. This module uses the standard . &lfs76_checked; Readonly::XS-&Readonly-XS-version; http://www.cpan.org/authors/id/R/RO/ROODE/Readonly-XS-&Readonly-XS-version;.tar.gz MD5 sum: df71f29abfcbd14c963f912d6d6ded6b Readonly (http://search.cpan.org/dist/Readonly/) this uses the Regexp::Common-&Regexp-Common-version; Regexp-Common Regexp::Common provides commonly requested regular expressions. This module uses the standard . &lfs76_checked; Regexp-Common-&Regexp-Common-version; http://www.cpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-&Regexp-Common-version;.tar.gz MD5 sum: 2b9c335312dcfd9980ff7acbad0e5905 SGMLSpm-&SGMLSpm-version; SGMLSpm The SGMLSpm module is a Perl library used for parsing the output from James Clark's SGMLS and NSGMLS parsers. This modules uses the standard . &lfs76_checked; Before beginning the build, issue the following command to prevent an error: chmod -v 644 MYMETA.yml After installed, as the root user: ln -sv sgmlspl.pl /usr/bin/sgmlspl SGMLSpm-&SGMLSpm-version; http://anduin.&lfs-domainname;/sources/BLFS/conglomeration/perl-modules/SGMLSpm-&SGMLSpm-version;.tar.gz MD5 sum: 746c74ae969992cedb1a2879b4168090 Text::BibTeX-&Text-BibTeX-version; Text::BibTex Text::BibTeX provides an interface to read and parse BibTeX files. This module uses the , but except where noted, its dependencies are installed using the standard . &lfs76_checked; Text::BibTeX-&Text-BibTeX-version; http://www.cpan.org/authors/id/A/AM/AMBS/Text/Text-BibTeX-&Text-BibTeX-version;.tar.gz MD5 sum: 2b83fd66f252f4c11d1f49b4ea638ea3 Config::AutoConf (http://search.cpan.org/dist/Config-AutoConf/) Capture=Tiny (http://search.cpan.org/dist/Capture-Tiny/ ExtUtils-LibBuilder (http://search.cpan.org/dist/LibBuilder/) this uses the Unicode::Collate-&Unicode-Collate-version; Unicode-Collate Unicode::Collate provides a Unicode collation algorithm. This module uses the standard . &lfs76_checked; Unicode-Collate-&Unicode-Collate-version; http://www.cpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-&Unicode-Collate-version;.tar.gz MD5 sum: 80b9d8452be51a638268fffd129d2480 Unicode::LineBreak-&Unicode-LineBreak-version; Unicode::LineBreak Unicode::LineBreak provides a UAX #14 Unicode Line Breaking Algorithm. This module and its dependencies use the standard . &lfs76_checked; Unicode::LineBreak-&Unicode-LineBreak-version; http://www.cpan.org/authors/id/N/NE/NEZUMI/Unicode-LineBreak-&Unicode-LineBreak-version;.tar.gz MD5 sum: c908890e6a00f4203da5d4a5d6060586 MIME::Charset (http://search.cpan.org/dist/MIME-Charset/) Encode-JISX0213 (http://search.cpan.org/dist/Encode-JISX0213/ Encode-ISO2022 (http://search.cpan.org/dist/Encode-ISO2022/>) URI-&URI-version; URI This module implements the URI class. Objects of this class represent "Uniform Resource Identifier references" as specified in RFC 2396 (and updated by RFC 2732). A Uniform Resource Identifier is a compact string of characters that identifies an abstract or physical resource. A Uniform Resource Identifier can be further classified as either a Uniform Resource Locator (URL) or a Uniform Resource Name (URN). The distinction between URL and URN does not matter to the URI class interface. A "URI-reference" is a URI that may have additional information attached in the form of a fragment identifier. This module uses the standard . &lfs76_checked; URI-&URI-version; http://www.cpan.org/authors/id/E/ET/ETHER/URI-&URI-version;.tar.gz MD5 sum: 12c5d612a20ddd42041a5aa426f66269 XML::LibXML::Simple-&XML-LibXML-Simple-version; XML::LibXML::Simple The XML::LibXML::Simple module is a rewrite of XML::Simple to use the XML::LibXML parser for XML structures,instead of the plain Perl or SAX parsers. This module and all dependency modules use the standard . &lfs76_checked; XML::LibXML::Simple-&XML-LibXML-Simple-version; http://cpan.org/authors/id/M/MA/MARKOV/XML-LibXML-Simple-&XML-LibXML-Simple-version;.tar.gz MD5 sum: 5be6726d9972be9f55bd646a464988d6 File::Slurp::Tiny (http://search.cpan.org/dist/File-Slurp-Tiny/) XML::LibXSLT-&XML-LibXSLT-version; XML::LibXSLT The XML::LibXSLT module provides an interface to libxslt. This module uses the standard . &lfs76_checked; XML::LibXSLT-&XML-LibXSLT-version; http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXSLT-&XML-LibXSLT-version;.tar.gz MD5 sum: e543d54493c8be6d4fb26595593818d1 XML::Simple-&XML-Simple-version; XML::Simple The XML::Simple module is a Perl extension that provides an easy API to read and write XML (especially config files). This module and all dependency modules use the standard . &lfs76_checked; XML::Simple-&XML-Simple-version; http://cpan.org/authors/id/G/GR/GRANTM/XML-Simple-&XML-Simple-version;.tar.gz MD5 sum: 4d10964e123b76eca36678464daa63cd XML::SAX (http://search.cpan.org/~grantm/XML-SAX/) (Note: this package does not support parallel build) XML::NamespaceSupport (http://search.cpan.org/~perigrin/XML-NamespaceSupport/) XML::SAX::Base (http://search.cpan.org/~grantm/XML-SAX-Base/) XML::SAX::Expat (http://search.cpan.org/~bjoern/XML-SAX-Expat/) (Note: this package does not support parallel build) XML::LibXML (http://search.cpan.org/~shlomif/XML-LibXML/) (recommended for faster parsing) Tie::IxHash (http://search.cpan.org/~chorny/Tie-IxHash/) (optionally used in the test suite) XML::Writer-&XML-Writer-version; XML::Writer XML::Writer provides a Perl extension for writing XML documents. This module uses the standard . &lfs76_checked; XML::Writer-&XML-Writer-version; http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-&XML-Writer-version;.tar.gz MD5 sum: b9c2420c243c6a36ce45a008740fcede Standard Installation of Perl Modules Install Perl modules by running the following commands: perl Makefile.PL && make && make test Now, as the root user: make install When reinstalling a Perl module, sometimes older versions of the module being reinstalled are in other directories specified in @INC. To delete all other versions of the module being reinstalled (not simply older ones) set the UNINST variable: make install UNINST=1 Installation of Perl Modules which use Build.PL Install Perl modules which use Build.PL by running the following commands: perl Build.PL && ./Build && ./Build test Now, as the root user: ./Build install (Alternate) Auto Installation of Perl Modules. There is an alternate way of installing the modules using the cpan shell install command. The command automatically downloads the source from the CPAN archive, extracts it, runs the compilation, testing and installation commands mentioned above, and removes the build source tree. You may still need to install dependent library packages before running the automated installation method. The first time you run cpan, you'll be prompted to enter some information regarding download locations and methods. This information is retained in files located in ~/.cpan. Start the cpan shell by issuing 'cpan' as the root user. Any module may now be installed from the cpan>  prompt with the command: install <Module::Name> For additional commands and help, issue 'help' from the cpan>  prompt. Alternatively, for scripted or non-interactive installations, use the following syntax as the root user to install one or more modules: cpan -i <Module1::Name> <Module2::Name> Review the cpan.1 man page for additional parameters you can pass to cpan on the command line.