%general-entities; ]> $LastChangedBy$ $Date$ <application>Perl</application> modules Perl modules Introduction to <application>Perl</application> 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. Most references to Perl modules are in the form of Module, Module::SubName or Module::Sub::Name, however occasionally you'll also see Module, Module-SubName or Module-Sub-Name. Most references on this page are in the latter form, as these are the official package names. Download MD5 sums (HTTP): Download MD5 sums (FTP): The Module::Info module Module::Info One module in particular is shown first, as this module's usefulness warrants installation, even though it won't be required by many other modules. The Module::Info module can tell you if a particular module is included in, or has been installed into your Perl installation. Additionally, the module can tell you what versions are installed and what dependencies are required for them. You can even use Module::Info to gather dependencies of uninstalled modules. Module-Info-&Module-Info-version; <application>Perl</application> Module Packages Gtk-Perl-&Gtk-Perl-version; Gtk::Perl XML-Writer-&XML-Writer-version; XML::Writer XML-Parser-&XML-Parser-version; XML::Parser SGMLSpm-&SGMLSpm-version; SGMLSpm Tk-&Perl-Tk-version; Perl::Tk and Net-DNS-&Net-DNS-version; Net::DNS Digest-HMAC-&Digest-HMAC-version; Digest::HMAC Digest-SHA1-&Digest-SHA1-version; Digest::SHA1 LWP-&LWP-version; LWP URI-&URI-version; URI Business-ISBN-&Business-ISBN-version; (Only used during the test suite) Business::ISBN Business-ISBN-Data-&Business-ISBN-Data-version; Business::ISBN::Data Test-Pod-&Test-Pod-version; Test::Pod Pod-Simple-&Pod-Simple-version; Pod::Simple Pod-Escapes-&Pod-Escapes-version; Pod::Escapes Test-Builder-Tester-&Test-Builder-Tester-version; Test::Builder::Tester Test-Prereq-&Test-Prereq-version; Test::Prereq Module-Info-&Module-Info-version; Module-CoreList-&Module-Corelist-version; Module::Corelist HTML-Parser-&HTML-Parser-version; HTML::Parser HTML-Tagset-&HTML-Tagset-version; HTML::Tagset Compress-Zlib-&Compress-Zlib-version; Compress::Zlib Crypt-SSLeay-&Crypt-SSLeay-version; Crypt::SSLeay DateManip-&DateManip-version; DateManip Finance-Quote-&Finance-Quote-version; Finance::Quote HTML-TableExtract-&HTML-TableExtract-version; HTML::TableExtract Installation of <application>Perl</application> modules Install Perl modules by running the following commands: perl Makefile.PL && make && make test Now, as the root user: make install The modules listed below require modifications to the instructions in order to install successfully. Gtk-Perl-&Gtk-Perl-version;: perl Makefile.PL --without-guessing && make && make test Now, as the root user: make install SGMLSpm-&SGMLSpm-version; If your system's Perl version is different than &LFS-Perl-version;, you'll need to modify the sed command below to reflect the version you have installed. sed -i -e "s@/usr/local/bin@/usr/bin@" \ -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/&LFS-Perl-version;@" \ -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \ Makefile Now, as the root user: make install && install -v -d -m755 /usr/share/doc/perl5 && make install_html && rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl && install -v -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm (Alternate) Auto installation of <application>Perl</application> modules. There is an alternate way of installing the modules using Perl's built-in install command. The command automatically downloads the source from the CPAN archive, extracts it, runs the commands mentioned above, and removes the build tree. You may still need to install dependent library packages before running the automated installation method. The first time you run this command, you'll be prompted to enter some information regarding download locations and methods. This information is retained in files located in ~/.cpan. Start the perl shell with the following command as the root user: perl -MCPAN -e shell Each module may now be installed from this shell with the command: install [Module::Name] For additional commands and help, type help.