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.

Where a module is shown as '(for the testsuite)' it is required if you wish to run the test for the module which uses it. In these cases, only the required dependencies are listed - there might be other modules which allow more tests to be run, but omitting them will still allow the tests to PASS.

Archive::Zip-1.59

The Archive::Zip module allows a Perl program to create, manipulate, read, and write Zip archive files. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

autovivification-0.16

The autovivification module allows you to lexically disable autovivification. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • autovivification-0.16

  • http://www.cpan.org/authors/id/V/VP/VPIT/autovivification-0.16.tar.gz
    MD5 sum: 7e20817f6034910c1bc23351d81a0658

Business::ISBN-3.002

The Business::ISBN module is for work with International Standard Book Numbers. This module and its dependency use the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Business::ISBN-3.002

  • http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-3.002.tar.gz
    MD5 sum: 50162c572a48587e7bf53f3492b44622

Business::ISMN-1.13

The Business::ISMN module is for work with International Standard Music Numbers. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Business::ISMN-1.13

  • http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISMN-1.13.tar.gz
    MD5 sum: e8696a78b4aa8a99869fbb0625c5cc13

    • Tie::Cycle
      (http://search.cpan.org/~bdfoy/Tie-Cycle/)

Business::ISSN-1.001

The Business::ISSN module is for work with International Standard Serial Numbers. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Business::ISSN-1.001

  • http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISSN-1.001.tar.gz
    MD5 sum: 004a95c3a44b1c2915ec62cdee66673d

Class::Accessor-0.34

This module generators accessors/mutators for your class. It uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Class::Accessor-0.34

  • http://www.cpan.org/authors/id/K/KA/KASEI/Class-Accessor-0.34.tar.gz
    MD5 sum: 0d9640d237a13276145f7e44b4855b89

Data::Compare-1.25

The Data::Compare module compares two perl data structures. This module and its dependencies use the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Data::Compare-1.25

  • http://www.cpan.org/authors/id/D/DC/DCANTRELL/Data-Compare-1.25.tar.gz
    MD5 sum: 6a397ab5833237f3ca05ed7277b19a7a

Data::Dump-1.23

This module provides pretty printing of data structures. It uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Data::Dump-1.23

  • http://www.cpan.org/authors/id/G/GA/GAAS/Data-Dump-1.23.tar.gz
    MD5 sum: 762c111e525c82ff23d62c90821b26e9

Data::Uniqid-0.12

This module provides three simple routines for generating unique IDs. It uses the standard build and installation instructions but requires a patch because one of its tests fails in recent builds.

Additional Download

This package is known to build and work properly using an LFS-7.10 platform.

  • Data-Uniqid-0.12

  • http://www.cpan.org/authors/id/M/MW/MWX/Data-Uniqid-0.12.tar.gz
    MD5 sum: 6bab3b5da09fedfdf60ce2629a7367db

Date::Simple-3.03

Date::Simple provides a simple date object. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Date::Simple-3.03

  • http://www.cpan.org/authors/id/I/IZ/IZUT/Date-Simple-3.03.tar.gz
    MD5 sum: 436049dc2c7dfd8423d8bcc807248b31

Encode::EUCJPASCII-0.03

Encode::EUCJPASCII provides an eucJP-open mapping. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Encode-EUCJPASCII-0.03

  • http://www.cpan.org/authors/id/N/NE/NEZUMI/Encode-EUCJPASCII-0.03.tar.gz
    MD5 sum: 5daa65f55b7c2050bb0713d9e95f239d

Encode::HanExtra-0.23

The Encode::HanExtra module provides extra sets of Chinese Encodings. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Encode::HanExtra-0.23

  • http://www.cpan.org/authors/id/A/AU/AUDREYT/Encode-HanExtra-0.23.tar.gz
    MD5 sum: e1d3bc32c1c8ee304235a06fbcd5d5a4

Encode::JIS2K-0.03

The Encode::JIS2K module provides JIS X 0212 (aka JIS 2000) Encodings. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Encode::JIS2K-0.03

  • http://www.cpan.org/authors/id/D/DA/DANKOGAI/Encode-JIS2K-0.03.tar.gz
    MD5 sum: 60539471aa408a2b793cd45a6ce651db

File::Slurp-9999.19

The File::Slurp module provides Simple and Efficient Reading/Writing/Modifying of Complete Files. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • File::Slurp-9999.19

  • http://www.cpan.org/authors/id/U/UR/URI/File-Slurp-9999.19.tar.gz
    MD5 sum: 7d584cd15c4f8b9547765eff8c4ef078

File::Which-1.21

File::Which provides a portable implementation of the 'which' utility. This module and its dependencies use the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • File::Which-1.21

  • http://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-Which-1.21.tar.gz
    MD5 sum: 115a6efe5d7e9621237fcb655c7a0980

HTML::Parser-3.72

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 build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • HTML::Parser-3.72

  • http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.72.tar.gz
    MD5 sum: eb7505e5f626913350df9dd4a03d54a8

    • HTML::Tagset
      (http://search.cpan.org/~petdance/HTML-Tagset/)

    • libwww-perl-6.15 (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-0.048

The IPC::Run3 module is used to run a subprocess with input/ouput redirection. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • IPC-Run3-0.048

  • http://www.cpan.org/authors/id/R/RJ/RJBS/IPC-Run3-0.048.tar.gz
    MD5 sum: 5a8cec571c51a118b265cf6e24e55761

libwww-perl-6.15 (a.k.a. Bundle::LWP)

The libwww-perl (Bundle::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 build and installation instructions. The dependencies should be installed in the order listed below. Ensure you install the dependency chain for each module before installing the modules.

This package is known to build and work properly using an LFS-7.10 platform.

After the LWP installation, if you want HTTPS protocol support, install LWP::Protocol::https-6.06

Lingua::Translit-0.26 (Lingua::Translit)

Lingua::Translit and its translit program transliterate text between writing systems. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Lingua-Translit-0.26

  • http://www.cpan.org/authors/id/A/AL/ALINKE/Lingua-Translit-0.26.tar.gz
    MD5 sum: fa13fd95053cafd590fef213477196d7

List::AllUtils-0.11

The List::Allutils module combines List::Util and List::MoreUtils in one bite-sized package. This module and its dependencies use the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

List::MoreUtils-0.416

List::MoreUtils provides the stuff missing in List::Util. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • List-MoreUtils-0.416

  • http://www.cpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-0.416.tar.gz
    MD5 sum: 0c5c4650eb52ed58cac67d81be1004f3

    • Exporter::Tiny
      (http://search.cpan.org/dist/Exporter::Tiny/) (for the testsuite)

Log-Log4perl-1.47 (a.k.a. Log::Log4perl)

Log-Log4perl provides a Log4j implementation for perl. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Log-Log4perl-1.47

  • http://www.cpan.org/authors/id/M/MS/MSCHILLI/Log-Log4perl-1.47.tar.gz
    MD5 sum: 53a0a2e68da51fa445c3557e4852d3a4

LWP::Protocol::https-6.06

LWP::Protocol::https provides https support for LWP::UserAgent (i.e. for LWP). This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

Module::Build-0.4220

Module::Build allows perl modules to be built without a make command being present. This module uses the standard build and installation instructions. If your version of perl is 5.20.2 or earlier, a version of this module was installed as part of the core perl distribution and you do not need to install a newer version.

[Note]

Note

When creating the Makefile, this module will report

inc_bundling_support....disabled
  requires:
    ! inc::latest is not installed

but inc::latest is experimental and not needed.

This package is known to build and work properly using an LFS-7.10 platform.

  • Module-Build-0.4220

  • http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-0.4220.tar.gz
    MD5 sum: 9df204e188462a4410d496f316c2c531

Net::DNS-1.06

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 build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Net::DNS-1.06

  • http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-1.06.tar.gz
    MD5 sum: ed17abd6e7e3ba0a8db42649e34a53ae

    • Digest::HMAC
      (http://search.cpan.org/~gaas/Digest-HMAC/) (for the testsuite)

    • IO::Socket::INET6
      (http://search.cpan.org/~shlomif/IO-Socket-INET6-2.72/) (required for IPv6 support)

    • 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/)

Regexp::Common-2016060801

Regexp::Common provides commonly requested regular expressions. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Regexp-Common-2016060801

  • http://www.cpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-2016060801.tar.gz
    MD5 sum: 566c7c851b6a1cbf1a82a5d3bc7d5d11

SGMLSpm-1.1

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 build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

Before beginning the build, issue the following command to prevent an error:

chmod -v 644 MYMETA.yml

After the package has been installed, run the following command as the root user:

ln -sv sgmlspl.pl /usr/bin/sgmlspl
  • SGMLSpm-1.1

  • http://anduin.linuxfromscratch.org/BLFS/perl-modules/SGMLSpm-1.1.tar.gz
    MD5 sum: 746c74ae969992cedb1a2879b4168090

Test::Command-0.11 (Test::Command)

This module tests the exit status, STDOUT, or STDERR, of an external command. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Test-Command-0.11

  • http://www.cpan.org/authors/id/D/DA/DANBOO/Test-Command-0.11.tar.gz
    MD5 sum: 9ab83c4695961dbe92cd86efe08f0634

Test::Differences-0.64

Test::Differences - Test strings and data structures and show differences if not ok. This module and its dependency modules use the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

Text::BibTeX-0.76

Text::BibTeX provides an interface to read and parse BibTeX files. This module uses the instructions for packages using Build.PL, but except where noted, its dependencies are installed using the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

Text::Roman-3.5

Text::Roman allows conversion between Roman and Arabic algorisms (number systems, e.g. MCMXLV and 1945). This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Text-Roman-3.5

  • http://www.cpan.org/authors/id/S/SY/SYP/Text-Roman-3.5.tar.gz
    MD5 sum: 1f6b09c0cc1f4425b565ff787a39fd83

Unicode::Collate-1.14

Unicode::Collate provides a Unicode collation algorithm. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Unicode-Collate-1.14

  • http://search.cpan.org/CPAN/authors/id/S/SA/SADAHIRO/Unicode-Collate-1.14.tar.gz
    MD5 sum: c486b31f87bfa3875883f3c9fad9fd99

Unicode::LineBreak-2016.003

Unicode::LineBreak provides a UAX #14 Unicode Line Breaking Algorithm. This module and its dependencies use the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

Unicode::Normalize-1.25

Unicode::Normalize provides Unicode Normalization Forms. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • Unicode::Normalize-1.25

  • http://www.cpan.org/authors/id/K/KH/KHW/Unicode-Normalize-1.25.tar.gz
    MD5 sum: 8f25327bbccc33717b7d85433e1083bd

URI-1.71

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 build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • URI-1.71

  • http://www.cpan.org/authors/id/E/ET/ETHER/URI-1.71.tar.gz
    MD5 sum: 247c3da29a794f72730e01aa5a715daf

XML::LibXML::Simple-0.97

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 build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

XML::LibXSLT-1.95

The XML::LibXSLT module provides an interface to libxslt. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

XML::Simple-2.22

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 build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • XML::Simple-2.22

  • http://cpan.org/authors/id/G/GR/GRANTM/XML-Simple-2.22.tar.gz
    MD5 sum: 0914abddfce749453ed89b54029f2643

    • XML::SAX
      (http://search.cpan.org/~grantm/XML-SAX/)
      (Note: this package does not support parallel build)

    • 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-0.625

XML::Writer provides a Perl extension for writing XML documents. This module uses the standard build and installation instructions.

This package is known to build and work properly using an LFS-7.10 platform.

  • XML::Writer-0.625

  • http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-0.625.tar.gz
    MD5 sum: b9c2420c243c6a36ce45a008740fcede

Standard Installation of Perl Modules

Install Perl modules by running the following commands:

For Data::Uniqid-0.12, first apply the required patch with:

patch -Np1 -i ../Data-Uniqid-0.12-disable_failing_test-1.patch

Then, or for all other modules using the standard installation, proceed with:

perl Makefile.PL &&
make &&
make test

Now, as the root user:

make install
[Note]

Note

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

Before perl-5.22, Module::Build was part of the core distribution. Now it must be installed separately (see above) before any of the modules which use it can be built.

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.

Contents

Most of these modules only install into the perl directories, but a few will also install programs (mostly, perl scripts), or even a library, into /usr

Installed Programs: Archive::Zip: crc32 File::Find::Rule: findrule libwww-perl: lwp-download, lwp-dump, lwp-mirror, lwp-request Lingua::Translit: translit Log::Log4perl: l4p-tmpl Module::Build config_data Pod::Coverage: pod_cover Text::BibTeX: biblex, bibparse, dumpnames
Installed Libraries: Text::BibTeX: libbtparse.so

Short Descriptions

crc32

computes and prints to stdout the CRC-32 values of the given files.

findrule

is a command line wrapper to File:Find:Rule.

lwp-download

is a script to fetch a large file from the web.

lwp-dump

is used to see what headers and content is returned for a URL.

lwp-mirror

is a simple mirror utility.

lwp-request

is a simple command line user agent.

translit

transliterates text between writing systems using various standards.

l4p-templ

prints out the text of a template Log4perl configuration for starting a new Log4perl configuration file.

config_data

is used to query or change the configuration of perl modules.

pod_cover

is used to get a coverage analysis of the embedded documentation in a perl module.

biblex

performs lexical analysis on a BibTeX file.

bibparse

parses a series of BibTeX files with command line options to control the string post-processing behaviour.

dumpnames

parses a BibTeX file, splitting 'author' and 'editor' fields into lists of names, and then dumps everything to stdout.

libbtparse.so

is a library for parsing and processing BibTeX data files.

Last updated on 2016-08-31 12:56:11 -0700