From 7fc44523258a71f8d37bdd407284dc5fca2bffd0 Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Tue, 1 Feb 2005 00:03:18 +0000 Subject: [PATCH] Added indexing tags to Perl modules git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3372 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general/prog/perl-modules.xml | 140 +++++++++++++++++++++++++--------- 1 file changed, 102 insertions(+), 38 deletions(-) diff --git a/general/prog/perl-modules.xml b/general/prog/perl-modules.xml index c4eb641f7d..a9b93ef94f 100644 --- a/general/prog/perl-modules.xml +++ b/general/prog/perl-modules.xml @@ -12,6 +12,8 @@ <application>Perl</application> modules + +Perl modules Introduction to <application>Perl</application> modules @@ -25,7 +27,10 @@ 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. -The Module::Info module +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, @@ -43,18 +48,24 @@ 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 @@ -66,123 +77,167 @@ XML-Parser-&XML-Parser-version; - 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 @@ -197,8 +252,11 @@ commands: perl Makefile.PL && make && -make test && -make install +make test + +Now, as the root user: + +make install The modules listed below require modifications to the instructions in order to install successfully. @@ -206,8 +264,11 @@ order to install successfully. Gtk-Perl-&Gtk-Perl-version;: perl Makefile.PL --without-guessing && make && -make test && -make install +make test + +Now, as the root user: + +make install SGMLSpm-&SGMLSpm-version; @@ -219,12 +280,15 @@ 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 && -make install && -install -d -m 755 /usr/share/doc/perl5 && + Makefile + +Now, as the root user: + +make install && +install -v -d -m755 /usr/share/doc/perl5 && make install_html && -rm -f /usr/share/doc/perl5/SGMLSpm/sample.pl && -install -m 644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm +rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl && +install -v -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm @@ -242,13 +306,13 @@ 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: +Start the perl shell with the following command as the root user: -perl -MCPAN -e shell +perl -MCPAN -e shell Each module may now be installed from this shell with the command: -install [ModuleName] +install [Module::Name] For additional commands and help, type help.