source: general/prog/perl-modules.xml@ 9daf3a4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9daf3a4 was 9daf3a4, checked in by Randy McMurchy <randy@…>, 11 years ago

Fixed download URL for Net::DNS

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10888 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 41.0 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[23460a6]6
[de91b35]7 <!ENTITY perl_modules_md5sums_download_http "&sources-anduin-http;/perl-modules/">
8 <!ENTITY perl_modules_md5sums_download_ftp "&sources-anduin-ftp;/perl-modules/">
[52d29f7]9]>
10
[24a37fa7]11<sect1 id="perl-modules" xreflabel="Perl modules">
[9ee1058]12 <?dbhtml filename="perl-modules.html" ?>
13
14 <sect1info>
15 <othername>$LastChangedBy$</othername>
16 <date>$Date$</date>
17 </sect1info>
18
19 <title>Perl Modules</title>
20
21 <indexterm zone="perl-modules">
22 <primary sortas="a-Perl-modules">Perl modules</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Perl Modules</title>
27
[10a2ee5]28 <para>The <application>Perl</application> module packages add useful
29 objects to the <application>Perl</application> language. Modules utilized
30 by packages throughout BLFS are listed here, along with their dependencies.
[231e47d7]31 Installation of the modules shown on this page should be accomplished by
[8e2f6669]32 installing the dependencies in the order listed.</para>
[9ee1058]33
34 <itemizedlist spacing="compact">
35 <listitem>
[4e82a189]36 <para>Download MD5 sums (HTTP):
[9ee1058]37 <ulink url="&perl_modules_md5sums_download_http;"/></para>
38 </listitem>
39 <listitem>
40 <para>Download MD5 sums (FTP):
41 <ulink url="&perl_modules_md5sums_download_ftp;"/></para>
42 </listitem>
43 </itemizedlist>
[de91b35]44
[231e47d7]45 <!-- Archive::Zip -->
46 <bridgehead renderas="sect3" id="perl-archive-zip"
47 xreflabel="Archive::Zip-&Archive-Zip-version;">
48 Archive::Zip-&Archive-Zip-version;</bridgehead>
[10a2ee5]49
[231e47d7]50 <indexterm zone="perl-modules perl-archive-zip">
51 <primary sortas="g-Archive-Zip">Archive::Zip</primary>
[10a2ee5]52 </indexterm>
53
[231e47d7]54 <para>The Archive::Zip module allows a <application>Perl</application>
[73f62fef]55 program to create, manipulate, read, and write Zip archive files.</para>
[10a2ee5]56
[8e2f6669]57 <itemizedlist>
[10a2ee5]58 <listitem>
[8e2f6669]59 <para>
60 <ulink url="http://www.cpan.org/authors/id/A/AD/ADAMK/Archive-Zip-&Archive-Zip-version;.tar.gz">
61 Archive::Zip-&Archive-Zip-version;</ulink>
62 (uses the standard <xref linkend="perl-standard-install"/>)
63 </para>
64 </listitem>
65 </itemizedlist>
66
67 <!-- Crypt::SSLeay -->
68 <bridgehead renderas="sect3" id="perl-crypt-ssleay"
69 xreflabel="Crypt::SSLeay-&Crypt-SSLeay-version;">
70 Crypt::SSLeay-&Crypt-SSLeay-version;</bridgehead>
71
72 <indexterm zone="perl-modules perl-crypt-ssleay">
73 <primary sortas="g-Crypt-SSLeay">Crypt::SSLeay</primary>
74 </indexterm>
75
76 <para>The Crypt::SSLeay module provides support for the HTTPS protocol under
77 LWP, to allow an LWP::UserAgent object to perform GET, HEAD and POST
78 requests. This module and the dependency modules use the standard
79 <xref linkend="perl-standard-install"/>.</para>
80
81 <itemizedlist>
82 <listitem>
83 <para>
84 <ulink url="http://www.cpan.org/authors/id/N/NA/NANIS/Crypt-SSLeay-&Crypt-SSLeay-version;.tar.gz">
85 Crypt::SSLeay-&Crypt-SSLeay-version;</ulink>
86 </para>
87 <itemizedlist>
88 <listitem>
89 <para>
90 <xref linkend="openssl"/>
91 </para>
92 </listitem>
93 <listitem>
94 <para>
95 <ulink url="http://search.cpan.org/~gaas/LWP-Protocol-https/">LWP::Protocol::https</ulink>
96 </para>
97 <itemizedlist>
98 <listitem>
99 <para>
100 <xref linkend="perl-lwp"/>
101 </para>
102 </listitem>
103 <listitem>
104 <para>
105 <ulink url="http://search.cpan.org/~behroozi/IO-Socket-SSL/">IO::Socket::SSL</ulink>
106 </para>
107 <itemizedlist>
108 <listitem>
109 <para>
110 <ulink url="http://search.cpan.org/dist/Net-SSLeay/">Net::SSLeay</ulink>
111 </para>
112 </listitem>
113 </itemizedlist>
114 </listitem>
115 <listitem>
116 <para>
117 <ulink url="http://search.cpan.org/~abh/Mozilla-CA/">Mozilla::CA</ulink>
118 </para>
119 </listitem>
120 </itemizedlist>
121 </listitem>
122 <listitem>
123 <para>
124 <ulink url="http://search.cpan.org/~doy/Try-Tiny/">Try::Tiny</ulink>
125 </para>
126 </listitem>
127 </itemizedlist>
[10a2ee5]128 </listitem>
129 </itemizedlist>
[17bcb81]130
[231e47d7]131 <!-- Date::Manip -->
132 <bridgehead renderas="sect3" id="perl-date-manip"
[ae97bc5c]133 xreflabel="Date::Manip-&Date-Manip-version;">
134 Date::Manip-&Date-Manip-version;</bridgehead>
[10a2ee5]135
[231e47d7]136 <indexterm zone="perl-modules perl-date-manip">
137 <primary sortas="g-Date-Manip">Date::Manip</primary>
[10a2ee5]138 </indexterm>
139
[231e47d7]140 <para>Date::Manip is a set of routines designed to make any common
141 date/time manipulation easy to do. Operations such as comparing two times,
142 calculating a time a given amount of time from another, or parsing
143 international times are all easily done. From the very beginning, the
144 main focus of Date::Manip has been to be able to do ANY desired date/time
[8e2f6669]145 operation easily. This module and the dependency module use the standard
146 <xref linkend="perl-standard-install"/>.</para>
[10a2ee5]147
[8e2f6669]148 <itemizedlist>
[10a2ee5]149 <listitem>
[8e2f6669]150 <para>
151 <ulink url="http://www.cpan.org/authors/id/S/SB/SBECK/Date-Manip-&Date-Manip-version;.tar.gz">
152 Date::Manip-&Date-Manip-version;</ulink>
153 </para>
154 <itemizedlist>
155 <listitem>
156 <para>
157 <ulink url="http://search.cpan.org/~sbeck/Test-Inter/">Test::Inter</ulink>
158 (optionally used for the tests)
159 </para>
160 </listitem>
161 </itemizedlist>
[231e47d7]162 </listitem>
163 </itemizedlist>
[10a2ee5]164
[8e2f6669]165 <!-- ExtUtils::Depends
[17bcb81]166 <bridgehead renderas="sect3" id="perl-extutils-depends"
167 xreflabel="ExtUtils::Depends-&ExtUtils-Depends-version;">
168 ExtUtils::Depends-&ExtUtils-Depends-version;</bridgehead>
169
170 <indexterm zone="perl-modules perl-extutils-depends">
171 <primary sortas="g-ExtUtils-Depends">ExtUtils::Depends</primary>
172 </indexterm>
173
174 <para>
175 ExtUtils::Depends tries to make it easy to build Perl extensions that use
176 functions and typemaps provided by other perl extensions. This means that
177 a perl extension is treated like a shared library that provides also a C
178 and an XS interface besides the perl one.
179 </para>
180
[8e2f6669]181 <itemizedlist>
[17bcb81]182 <listitem>
183 <para>
184 <ulink url="http://www.cpan.org/authors/id/F/FL/FLORA/ExtUtils-Depends-&ExtUtils-Depends-version;.tar.gz">
185 ExtUtils::Depends-&ExtUtils-Depends-version;</ulink>
186 (uses the standard <xref linkend="perl-standard-install"/>)</para>
187 </listitem>
[8e2f6669]188 </itemizedlist> -->
[17bcb81]189
[8e2f6669]190 <!-- ExtUtils::PkgConfig
[17bcb81]191 <bridgehead renderas="sect3" id="perl-extutils-pkgconfig"
192 xreflabel="ExtUtils::PkgConfig-&ExtUtils-PkgConfig-version;">
193 ExtUtils::PkgConfig-&ExtUtils-PkgConfig-version;</bridgehead>
194
[8e2f6669]195 <indexterm zone="perl-modules perl-extutils-pkgconfig">
[17bcb81]196 <primary sortas="g-ExtUtils-PkgConfig">ExtUtils::PkgConfig</primary>
197 </indexterm>
198
199 <para>
200 ExtUtils::PkgConfig is a very simplistic interface to
201 <xref linkend="pkgconfig"/>, intended for use in the Makefile.PL of perl
202 extensions which bind libraries that <application>pkgconfig</application>
203 knows.
204 </para>
205
[8e2f6669]206 <itemizedlist>
[17bcb81]207 <listitem>
208 <para>
[74f73ede]209 <ulink url="http://www.cpan.org/authors/id/X/XA/XAOC/ExtUtils-PkgConfig-&ExtUtils-PkgConfig-version;.tar.gz">
[17bcb81]210 ExtUtils::PkgConfig-&ExtUtils-PkgConfig-version;</ulink>
211 (uses the standard <xref linkend="perl-standard-install"/>) Requires:
212 </para>
213 <itemizedlist>
214 <listitem>
[8e2f6669]215 <para>
216 <xref linkend="perl-extutils-depends"/>
217 </para>
[17bcb81]218 </listitem>
219 </itemizedlist>
220 </listitem>
[8e2f6669]221 </itemizedlist> -->
[17bcb81]222
[231e47d7]223 <!-- Finance::Quote -->
224 <bridgehead renderas="sect3" id="perl-finance-quote"
225 xreflabel="Finance::Quote-&Finance-Quote-version;">
226 Finance::Quote-&Finance-Quote-version;</bridgehead>
[10a2ee5]227
[231e47d7]228 <indexterm zone="perl-modules perl-finance-quote">
229 <primary sortas="g-Finance-Quote">Finance::Quote</primary>
230 </indexterm>
[10a2ee5]231
[231e47d7]232 <para>Finance::Quote is used to get stock quotes from various Internet
233 sources, including Yahoo! Finance, Fidelity Investments, and the Australian
234 Stock Exchange. There are two methods of using this module &ndash; a
235 functional interface that is depreciated, and an object-orientated method
236 that provides greater flexibility and stability. With the exception of
237 straight currency exchange rates, all information is returned as a
238 two-dimensional hash (or a reference to such a hash, if called in a scalar
239 context).</para>
[6b830b9f]240
[231e47d7]241 <para>After you've installed the package, issue
242 <command>perldoc Finance::Quote</command> for full information.
243 Alternatively, you can issue <command>perldoc lib/Finance/Quote.pm</command>
244 after unpacking the distribution tarball and changing into the top-level
[8e2f6669]245 directory. This module and the dependency modules are installed using the
246 standard <xref linkend="perl-standard-install"/>.</para>
[6b830b9f]247
[231e47d7]248 <note>
[a0ca8fa]249 <para>To run the regression test suite, you'll need a working Internet
250 connection and then create a symbolic link to the
251 <filename class='directory'>test</filename> directory using the following
252 command after unpacking the tarball and changing into the root directory
253 of the source tree:</para>
[231e47d7]254
255<screen><userinput>ln -s test t</userinput></screen>
256
257 <para>Some tests will fail depending on certain conditions. See the
258 <filename>INSTALL</filename> file for full details.</para>
259 </note>
[6b830b9f]260
[8e2f6669]261 <itemizedlist>
[6b830b9f]262 <listitem>
[8e2f6669]263 <para>
264 <ulink url="http://www.cpan.org/authors/id/E/EC/ECOCODE/Finance-Quote-&Finance-Quote-version;.tar.gz">
265 Finance::Quote-&Finance-Quote-version;</ulink>
266 </para>
[6b830b9f]267 <itemizedlist>
268 <listitem>
[8e2f6669]269 <para>
270 <xref linkend="perl-lwp"/>
271 </para>
272 </listitem>
273 <listitem>
274 <para>
275 <xref linkend="perl-crypt-ssleay"/>
276 </para>
[231e47d7]277 </listitem>
278 <listitem>
[8e2f6669]279 <para>
280 <xref linkend="perl-html-tableextract"/>
281 </para>
[6b830b9f]282 </listitem>
283 </itemizedlist>
284 </listitem>
[51f154b]285 </itemizedlist>
286
[a6af3ab9]287 <!-- Finance::QuoteHist
[231e47d7]288 <bridgehead renderas="sect3" id="perl-finance-quotehist"
289 xreflabel="Finance::QuoteHist-&Finance-QuoteHist-version;">
290 Finance::QuoteHist-&Finance-QuoteHist-version;</bridgehead>
[10a2ee5]291
[231e47d7]292 <indexterm zone="perl-modules perl-finance-quotehist">
293 <primary sortas="g-Finance-QuoteHist">Finance::QuoteHist</primary>
[10a2ee5]294 </indexterm>
295
[231e47d7]296 <para>The Finance::QuoteHist bundle is several modules designed to fetch
[daaee0be]297 historical stock quotes from the web. The module and dependencies are
[717a0d0]298 installed using the standard <application>Perl</application> module
[10a2ee5]299 <xref linkend="perl-standard-install"/>.</para>
300
[8e2f6669]301 <itemizedlist>
[10a2ee5]302 <listitem>
[8e2f6669]303 <para>
304 <ulink url="http://cpan.org/authors/id/M/MS/MSISK/Finance-QuoteHist-&Finance-QuoteHist-version;.tar.gz">
305 Finance-QuoteHist-&Finance-QuoteHist-version;</ulink>
306 </para>
[10a2ee5]307 <itemizedlist>
308 <listitem>
[8e2f6669]309 <para>
310 <xref linkend="perl-html-tableextract"/>
311 </para>
[231e47d7]312 </listitem>
313 <listitem>
[8e2f6669]314 <para>
315 <xref linkend="perl-lwp"/>
316 </para>
[231e47d7]317 </listitem>
318 <listitem>
[8e2f6669]319 <para>
320 <xref linkend="perl-date-manip"/>
321 </para>
[231e47d7]322 </listitem>
[24f139d]323 <listitem>
[8e2f6669]324 <para>
325 <ulink url="http://cpan.org/authors/id/M/MA/MAKAMAKA/Text-CSV-&Text-CSV-version;.tar.gz">
326 Text-CSV-&Text-CSV-version;</ulink>
327 </para>
[24f139d]328 </listitem>
[231e47d7]329 <listitem>
[8e2f6669]330 <para>
331 <ulink url="http://cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-&Text-CSV_XS-version;.tgz">
332 Text-CSV_XS-&Text-CSV_XS-version; (optional)</ulink>
333 </para>
[9ee1058]334 </listitem>
335 </itemizedlist>
336 </listitem>
[10a2ee5]337 </itemizedlist>
[a6af3ab9]338 -->
[17bcb81]339
340 <!-- Glib -->
341 <bridgehead renderas="sect3" id="perl-glib"
342 xreflabel="Glib-&Glib-perl-version;">
343 Glib-&Glib-perl-version;</bridgehead>
344
[8e2f6669]345 <indexterm zone="perl-modules perl-glib">
[17bcb81]346 <primary sortas="g-Glib">Glib</primary>
347 </indexterm>
348
349 <para>
350 This module is a <application>Perl</application> wrapper around
[8e2f6669]351 <application>GLib</application> that attempts to provide a perlish
[17bcb81]352 interface while remaining as true as possible to the underlying C API, so
353 that any reference materials you can find on using GLib may still apply to
[8e2f6669]354 using the libraries from Perl. This module and the dependency modules use
355 the standard <xref linkend="perl-standard-install"/>.
[17bcb81]356 </para>
357
[8e2f6669]358 <itemizedlist>
[17bcb81]359 <listitem>
360 <para>
[74f73ede]361 <ulink url="http://www.cpan.org/authors/id/T/TS/TSCH/Glib-&Glib-perl-version;.tar.gz">
[17bcb81]362 Glib-&Glib-perl-version;</ulink>
363 </para>
364 <itemizedlist>
365 <listitem>
[8e2f6669]366 <para>
367 <ulink url="http://search.cpan.org/~xaoc/ExtUtils-PkgConfig/">ExtUtils::PkgConfig</ulink>
368 </para>
369 <itemizedlist>
370 <listitem>
371 <para>
372 <ulink url="http://search.cpan.org/~flora/ExtUtils-Depends/">ExtUtils::Depends</ulink>
373 </para>
374 </listitem>
375 </itemizedlist>
[17bcb81]376 </listitem>
377 </itemizedlist>
378 </listitem>
379 </itemizedlist>
380
[231e47d7]381 <!-- HTML::Parser -->
382 <bridgehead renderas="sect3" id="perl-html-parser"
383 xreflabel="HTML::Parser-&HTML-Parser-version;">
384 HTML::Parser-&HTML-Parser-version;</bridgehead>
[10a2ee5]385
[231e47d7]386 <indexterm zone="perl-modules perl-html-parser">
387 <primary sortas="g-HTML-Parser">HTML::Parser</primary>
[10a2ee5]388 </indexterm>
389
[231e47d7]390 <para>The HTML::Parser distribution is a collection of modules that parse
[8e2f6669]391 and extract information from HTML documents. This module and the dependency
392 modules use the standard
[231e47d7]393 <xref linkend="perl-standard-install"/>.</para>
[10a2ee5]394
[8e2f6669]395 <itemizedlist>
[9ee1058]396 <listitem>
[8e2f6669]397 <para>
398 <ulink url="http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-&HTML-Parser-version;.tar.gz">
399 HTML::Parser-&HTML-Parser-version;</ulink>
400 </para>
[231e47d7]401 <itemizedlist>
402 <listitem>
[8e2f6669]403 <para>
404 <ulink url="http://search.cpan.org/~petdance/HTML-Tagset/">HTML::Tagset</ulink>
405 </para>
[231e47d7]406 </listitem>
[daaee0be]407 <listitem>
[8e2f6669]408 <para>
409 <xref linkend="perl-lwp"/> (circular; howevever, it can
410 be installed after HTML::Parser as it is only a run-time
411 requirement for the included HTML::HeadParser module)
412 </para>
[daaee0be]413 </listitem>
[231e47d7]414 </itemizedlist>
415 </listitem>
416 </itemizedlist>
[10a2ee5]417
[231e47d7]418 <!-- HTML::TableExtract -->
419 <bridgehead renderas="sect3" id="perl-html-tableextract"
420 xreflabel="HTML::TableExtract-&HTML-TableExtract-version;">
421 HTML::TableExtract-&HTML-TableExtract-version;</bridgehead>
[10a2ee5]422
[231e47d7]423 <indexterm zone="perl-modules perl-html-tableextract">
424 <primary sortas="g-HTML-TableExtract">HTML::TableExtract</primary>
[10a2ee5]425 </indexterm>
426
[daaee0be]427 <para>HTML::TableExtract is a module that simplifies the extraction of the
428 content contained in tables within HTML documents, extracted either as
429 text or encoded element trees. Tables of note may be specified using
[8e2f6669]430 Headers, Depth, Count, Attributes, or some combination of the four. This
431 module and dependency modules use the standard
[6473e74]432 <xref linkend="perl-standard-install"/>.</para>
[10a2ee5]433
[8e2f6669]434 <itemizedlist>
[9ee1058]435 <listitem>
[8e2f6669]436 <para>
437 <ulink url="http://cpan.org/authors/id/M/MS/MSISK/HTML-TableExtract-&HTML-TableExtract-version;.tar.gz">
438 HTML::TableExtract-&HTML-TableExtract-version;</ulink>
439 </para>
[9ee1058]440 <itemizedlist>
441 <listitem>
[8e2f6669]442 <para>
443 <ulink url="http://search.cpan.org/~msisk/HTML-Element-Extended/">HTML::Element::Extended</ulink>
444 </para>
[daaee0be]445 <itemizedlist>
446 <listitem>
[8e2f6669]447 <para>
448 <ulink url="http://search.cpan.org/~cjm/HTML-Tree/">HTML::Tree</ulink>
449 </para>
[daaee0be]450 <itemizedlist>
451 <listitem>
[8e2f6669]452 <para>
453 <xref linkend="perl-html-parser"/>
454 </para>
[daaee0be]455 </listitem>
456 <listitem>
[8e2f6669]457 <para>
458 <ulink url="http://search.cpan.org/dist/Test-Fatal/">Test::Fatal</ulink>
459 </para>
460 <itemizedlist>
461 <listitem>
462 <para>
463 <ulink url="http://search.cpan.org/~doy/Try-Tiny/">Try::Tiny</ulink>
464 </para>
465 </listitem>
466 </itemizedlist>
[daaee0be]467 </listitem>
468 </itemizedlist>
469 </listitem>
470 </itemizedlist>
[9ee1058]471 </listitem>
472 </itemizedlist>
473 </listitem>
[6473e74]474 </itemizedlist>
[10a2ee5]475
[231e47d7]476 <!-- LWP -->
477 <bridgehead renderas="sect3" id="perl-lwp"
[7eee225]478 xreflabel="libwww-perl-&LWP-version;">
479 libwww-perl-&LWP-version; (a.k.a. LWP)</bridgehead>
[10a2ee5]480
[231e47d7]481 <indexterm zone="perl-modules perl-lwp">
[7eee225]482 <primary sortas="g-libwww-perl">libwww-perl</primary>
[10a2ee5]483 </indexterm>
484
[7eee225]485 <para>The libwww-perl (LWP) collection is a set of
[daaee0be]486 <application>Perl</application> modules which provide a simple and
[231e47d7]487 consistent application programming interface to the World-Wide Web. The
488 main focus of the library is to provide classes and functions that allow
489 you to write WWW clients. The library also contains modules that are of
490 more general use and even classes that help you implement simple HTTP
[8e2f6669]491 servers. The LWP collection and all its dependency modules use the standard
492 <xref linkend="perl-standard-install"/>. The dependencies should be
493 installed in the order listed below. Ensure you install the dependency
494 chain for each module before installing the modules.</para>
[10a2ee5]495
[8e2f6669]496 <itemizedlist>
[9ee1058]497 <listitem>
[8e2f6669]498 <para>
499 <ulink url="http://cpan.org/authors/id/G/GA/GAAS/libwww-perl-&LWP-version;.tar.gz">
500 libwww-perl-&LWP-version;</ulink>
501 </para>
[9ee1058]502 <itemizedlist>
503 <listitem>
[8e2f6669]504 <para>
505 <ulink url="http://search.cpan.org/~gaas/Encode-Locale/">Encode::Locale</ulink>
506 </para>
[9ee1058]507 </listitem>
508 <listitem>
[a6af3ab9]509 <para>
[8e2f6669]510 <ulink url="http://search.cpan.org/~gaas/HTML-Form/">HTML::Form</ulink>
511 </para>
[10a2ee5]512 <itemizedlist>
513 <listitem>
[8e2f6669]514 <para>
515 <xref linkend="perl-uri"/>
516 </para>
[10a2ee5]517 </listitem>
[aa6045e]518 <listitem>
[8e2f6669]519 <para>
520 <xref linkend="perl-html-parser"/>
521 </para>
522 </listitem>
523 <listitem>
524 <para>
525 <ulink url="http://search.cpan.org/~gaas/HTTP-Message/">HTTP::Message</ulink>
526 </para>
527 <itemizedlist>
528 <listitem>
529 <para>
530 <ulink url="http://search.cpan.org/~gaas/HTTP-Date/">HTTP::Date</ulink>
531 </para>
532 </listitem>
533 <listitem>
534 <para>
535 <ulink url="http://search.cpan.org/~cjm/IO-HTML/">IO::HTML</ulink>
536 </para>
537 </listitem>
538 <listitem>
539 <para>
540 <ulink url="http://search.cpan.org/~gaas/LWP-MediaTypes/">LWP::MediaTypes</ulink>
541 </para>
542 </listitem>
543 </itemizedlist>
[aa6045e]544 </listitem>
[10a2ee5]545 </itemizedlist>
[8e2f6669]546 </listitem>
547 <listitem>
548 <para>
549 <ulink url="http://search.cpan.org/~gaas/HTTP-Cookies/">HTTP::Cookies</ulink>
550 </para>
551 </listitem>
552 <listitem>
553 <para>
554 <ulink url="http://search.cpan.org/~gaas/HTTP-Negotiate/">HTTP::Negotiate</ulink>
555 </para>
556 </listitem>
557 <listitem>
558 <para>
559 <ulink url="http://search.cpan.org/~gaas/Net-HTTP/">Net::HTTP</ulink>
560 </para>
561 </listitem>
562 <listitem>
563 <para>
564 <ulink url="http://search.cpan.org/~gaas/WWW-RobotRules/">WWW::RobotRules</ulink>
565 </para>
566 </listitem>
567 <listitem>
568 <para>
569 <ulink url="http://search.cpan.org/~gaas/HTTP-Daemon/">HTTP::Daemon</ulink>
570 </para>
571 </listitem>
572 <listitem>
573 <para>
574 <ulink url="http://search.cpan.org/~gaas/File-Listing/">File::Listing</ulink>
575 </para>
[9ee1058]576 </listitem>
577 </itemizedlist>
[8e2f6669]578 </listitem>
579 </itemizedlist>
580
581 <para>If you want the LWP installation to support the HTTPS protocol,
582 install the following modules:</para>
[10a2ee5]583
[8e2f6669]584 <itemizedlist>
585 <listitem>
586 <para>
587 <xref linkend="openssl"/>
588 </para>
589 </listitem>
590 <listitem>
591 <para>
592 <ulink url="http://search.cpan.org/~gaas/LWP-Protocol-https/">LWP::Protocol::https</ulink>
593 </para>
594 <itemizedlist>
595 <listitem>
596 <para>
597 <ulink url="http://search.cpan.org/~behroozi/IO-Socket-SSL/">IO::Socket::SSL</ulink>
598 </para>
599 <itemizedlist>
600 <listitem>
601 <para>
602 <ulink url="http://search.cpan.org/dist/Net-SSLeay/">Net::SSLeay</ulink>
603 </para>
604 </listitem>
605 </itemizedlist>
606 </listitem>
607 <listitem>
608 <para>
609 <ulink url="http://search.cpan.org/~abh/Mozilla-CA/">Mozilla::CA</ulink>
610 </para>
611 </listitem>
612 </itemizedlist>
[9ee1058]613 </listitem>
[10a2ee5]614 </itemizedlist>
615
[8e2f6669]616
[a6af3ab9]617 <!-- Module::Info
[231e47d7]618 <bridgehead renderas="sect3" id="perl-module-info"
619 xreflabel="Module::Info-&Module-Info-version;">
620 Module::Info-&Module-Info-version;</bridgehead>
621
622 <indexterm zone="perl-modules perl-module-info">
623 <primary sortas="g-Module-Info">Module::Info</primary>
[b61a7a16]624 </indexterm>
625
[231e47d7]626 <para>The Module::Info module is quite useful for tasks other than just
627 support of other modules. It can be used from the command-line to tell you
628 if a particular module is included in, or has been installed into your
629 <application>Perl</application> installation. Additionally, Module::Info
630 can tell you what version of a module is installed and what dependencies
631 are required for it. You can even use Module::Info to gather dependencies
[aa6045e]632 of uninstalled modules. The Module::Info module and dependencies install
633 using the standard <application>Perl</application> module
634 <xref linkend="perl-standard-install"/>.</para>
[231e47d7]635
[8e2f6669]636 <itemizedlist>
[231e47d7]637 <listitem>
[8e2f6669]638 <para>
639 <ulink url="http://www.cpan.org/authors/id/M/MB/MBARBON/Module-Info-&Module-Info-version;.tar.gz">
640 Module-Info-&Module-Info-version;</ulink>
641 </para>
[231e47d7]642 </listitem>
643 </itemizedlist>
[a6af3ab9]644 -->
[17bcb81]645
[a6af3ab9]646 <!-- Module::Signature
[9f765338]647 <bridgehead renderas="sect3" id="perl-module-signature"
648 xreflabel="Module::Signature-&Module-Signature-version;">
649 Module::Signature-&Module-Signature-version;</bridgehead>
650
651 <indexterm zone="perl-modules perl-module-signature">
652 <primary sortas="g-Module-Signature">Module::Signature</primary>
653 </indexterm>
654
655 <para>The Module::Signature module is used to check and create
656 <filename>SIGNATURE</filename> files for CPAN distributions. After
657 installing Module::Signature you can verify the content of a distribution
658 tarball (if it includes a <filename>SIGNATURE</filename> file) by unpacking
659 the tarball, changing into the newly created directory and issuing the
660 command <command>cpansign -v</command>. It will check each file's
[daaee0be]661 integrity, as well as the signature's validity. Note that some of the
662 dependencies appear to be circular, however, they are only run-time
663 conflicts and you should be able to fully utilize them as long as
[6473e74]664 everything is installed. Module::Signature and the dependency modules are
[daaee0be]665 installed using the standard <application>Perl</application>
666 module <xref linkend="perl-standard-install"/>.</para>
[9f765338]667
[8e2f6669]668 <itemizedlist>
[9f765338]669 <listitem>
[8e2f6669]670 <para>
671 <ulink url="http://cpan.org/authors/id/A/AU/AUDREYT/Module-Signature-&Module-Signature-version;.tar.gz">
672 Module-Signature-&Module-Signature-version;</ulink>
673 </para>
[9f765338]674 <itemizedlist>
675 <listitem>
[8e2f6669]676 <para>
677 <xref linkend="perl-text-diff"/>
678 </para>
[9f765338]679 </listitem>
680 <listitem>
[8e2f6669]681 <para>
682 <ulink url="http://cpan.org/authors/id/S/SM/SMUELLER/PAR-Dist-&PAR-Dist-version;.tar.gz">
683 PAR-Dist-&PAR-Dist-version;</ulink>
684 </para>
[dbb5a07]685 <itemizedlist>
686 <listitem>
[8e2f6669]687 <para>
688 <xref linkend="perl-archive-zip"/>
689 </para>
[dbb5a07]690 </listitem>
691 <listitem>
[8e2f6669]692 <para>
693 <xref linkend="perl-lwp"/>
694 </para>
[dbb5a07]695 </listitem>
696 <listitem>
[8e2f6669]697 <para>
698 <xref linkend="perl-module-signature"/>
699 </para>
[dbb5a07]700 </listitem>
701 </itemizedlist>
702 </listitem>
[9f765338]703 <listitem>
[8e2f6669]704 <para>
705 <xref linkend="gnupg"/>
706 </para>
[9f765338]707 </listitem>
708 </itemizedlist>
709 </listitem>
710 </itemizedlist>
[a6af3ab9]711 -->
[9f765338]712
[231e47d7]713 <!-- Net::DNS -->
714 <bridgehead renderas="sect3" id="perl-net-dns"
[a6af3ab9]715 xreflabel="Net::DNS-&Net-DNS-version;">
[231e47d7]716 Net::DNS-&Net-DNS-version;</bridgehead>
717
718 <indexterm zone="perl-modules perl-net-dns">
719 <primary sortas="g-Net-DNS">Net::DNS</primary>
720 </indexterm>
721
722 <para>Net::DNS is a DNS resolver implemented in
723 <application>Perl</application>. It can be used to perform nearly any type
724 of DNS query from a <application>Perl</application> script. The Net::DNS
[daaee0be]725 module and all its dependencies are installed using the standard
[b61a7a16]726 <xref linkend="perl-standard-install"/>.</para>
727
[8e2f6669]728 <itemizedlist>
[b61a7a16]729 <listitem>
[8e2f6669]730 <para>
[9daf3a4]731 <ulink url="http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-&Net-DNS-version;.tar.gz">
[8e2f6669]732 Net::DNS-&Net-DNS-version;</ulink>
733 </para>
[b61a7a16]734 <itemizedlist>
735 <listitem>
[8e2f6669]736 <para>
737 <ulink url="http://search.cpan.org/~gaas/Digest-HMAC/">Digest::HMAC</ulink>
738 </para>
[b61a7a16]739 </listitem>
740 <listitem>
[8e2f6669]741 <para>
742 <ulink url="http://search.cpan.org/~gbarr/IO/lib/IO/Socket/INET.pm">IO::Socket::INET</ulink>
743 (required for IPv6 support)
744 </para>
[231e47d7]745 <itemizedlist>
746 <listitem>
[8e2f6669]747 <para>
748 <ulink url="http://search.cpan.org/~umemoto/Socket6/">Socket6</ulink>
749 </para>
[231e47d7]750 </listitem>
751 </itemizedlist>
[89c59ab]752 </listitem>
[b61a7a16]753 </itemizedlist>
754 </listitem>
755 </itemizedlist>
[17bcb81]756
[d9afe96]757 <!-- SGMLSpm -->
758 <bridgehead renderas="sect3" id="perl-sgmlspm"
759 xreflabel="SGMLSpm-&SGMLSpm-version;">
760 SGMLSpm-&SGMLSpm-version;</bridgehead>
761
762 <indexterm zone="perl-modules perl-sgmlspm">
763 <primary sortas="g-SGMLSpm">SGMLSpm</primary>
764 </indexterm>
765
766 <para>The SGMLSpm module is a <application>Perl</application> library
767 used for parsing the output from James Clark's SGMLS and NSGMLS
[8e2f6669]768 parsers.</para>
[daaee0be]769
[8e2f6669]770 <itemizedlist>
[daaee0be]771 <listitem>
[8e2f6669]772 <para>
773 <ulink url="http://search.cpan.org/CPAN/authors/id/R/RA/RAAB/SGMLSpm-&SGMLSpm-version;.tar.gz">
774 SGMLSpm-&SGMLSpm-version;</ulink>
775 ( uses the standard <xref linkend="perl-standard-install"/>)
776 </para>
[daaee0be]777 </listitem>
778 </itemizedlist>
779
[a6af3ab9]780 <!-- Text::Diff
[8191bd1]781 <bridgehead renderas="sect3" id="perl-text-diff"
782 xreflabel="Text::Diff-&Text-Diff-version;">
783 Text::Diff-&Text-Diff-version;</bridgehead>
784
785 <indexterm zone="perl-modules perl-text-diff">
786 <primary sortas="g-Text-Diff">Text::Diff</primary>
787 </indexterm>
788
789 <para>Text::Diff is used to perform diffs on files and record sets. It
790 provides a basic set of services akin to the GNU <command>diff</command>
791 utility. It is not anywhere near as feature complete as GNU
792 <command>diff</command>, but it is better integrated with
793 <application>Perl</application> and available on all platforms. Text::Diff
794 is often faster than shelling out to a system's <command>diff</command>
[daaee0be]795 executable for small files, and generally slower on larger files. The
796 modules listed below are installed using the standard
797 <application>Perl</application> module
798 <xref linkend="perl-standard-install"/>.</para>
[8191bd1]799
[8e2f6669]800 <itemizedlist>
[8191bd1]801 <listitem>
[8e2f6669]802 <para>
803 <ulink url="http://cpan.org/authors/id/R/RB/RBS/Text-Diff-&Text-Diff-version;.tar.gz">
804 Text-Diff-&Text-Diff-version;</ulink></para>
[8191bd1]805 <itemizedlist>
806 <listitem>
[8e2f6669]807 <para>
808 <ulink url="http://cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-&Algorithm-Diff-version;.tar.gz">
809 Algorithm-Diff-&Algorithm-Diff-version;</ulink></para>
[8191bd1]810 </listitem>
811 </itemizedlist>
812 </listitem>
813 </itemizedlist>
[a6af3ab9]814 -->
[8191bd1]815
[a6af3ab9]816 <!-- Tk
[b9c594f0]817 <bridgehead renderas="sect3" id="tk-perl"
818 xreflabel="Tk-Perl-&Tk-Perl-version;">
819 Tk-&Tk-Perl-version;</bridgehead>
[231e47d7]820
[b9c594f0]821 <indexterm zone="perl-modules tk-perl">
[d9afe96]822 <primary sortas="g-Tk">Tk</primary>
[231e47d7]823 </indexterm>
824
[d9afe96]825 <para>The <application>Tk</application> module is a
826 <application>Perl</application> interface to the
827 <application>Tk</application> package. The goal of this release is Unicode
828 support via <application>Perl</application>'s and
[b9c594f0]829 core-<application>Tk</application>'s use of UTF-8. Tk-&Tk-Perl-version;
[d9afe96]830 builds and loads into a threaded <application>Perl</application> but is NOT
[daaee0be]831 yet thread safe. The module is installed using the standard
832 <application>Perl</application> module
[231e47d7]833 <xref linkend="perl-standard-install"/>.</para>
834
[8e2f6669]835 <itemizedlist>
[231e47d7]836 <listitem>
[8e2f6669]837 <para>
838 <ulink url="http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-&Tk-Perl-version;.tar.gz">
839 Tk-&Tk-Perl-version;</ulink></para>
[231e47d7]840 <itemizedlist>
841 <listitem>
[8e2f6669]842 <para>
843 <xref linkend="tk"/> and <xref linkend="libjpeg"/>
844 </para>
[231e47d7]845 </listitem>
846 </itemizedlist>
847 </listitem>
848 </itemizedlist>
[a6af3ab9]849 -->
[17bcb81]850
851 <!-- URI -->
[41b9f22]852 <bridgehead renderas="sect3" id="perl-uri"
853 xreflabel="URI-&URI-version;">
854 URI-&URI-version;</bridgehead>
855
856 <indexterm zone="perl-modules perl-uri">
857 <primary sortas="g-URI">URI</primary>
858 </indexterm>
859
[17bcb81]860 <para>
861 This module implements the URI class. Objects of this class represent
862 "Uniform Resource Identifier references" as specified in RFC 2396 (and
863 updated by RFC 2732). A Uniform Resource Identifier is a compact string of
864 characters that identifies an abstract or physical resource. A Uniform
865 Resource Identifier can be further classified as either a Uniform Resource
866 Locator (URL) or a Uniform Resource Name (URN). The distinction between
867 URL and URN does not matter to the URI class interface. A "URI-reference"
868 is a URI that may have additional information attached in the form of a
869 fragment identifier.
870 </para>
[41b9f22]871
[8e2f6669]872 <itemizedlist>
[41b9f22]873 <listitem>
[17bcb81]874 <para>
875 <ulink url="http://www.cpan.org/authors/id/G/GA/GAAS/URI-&URI-version;.tar.gz">
876 URI-&URI-version;</ulink>
877 (uses the standard <xref linkend="perl-standard-install"/>)</para>
[41b9f22]878 </listitem>
879 </itemizedlist>
[17bcb81]880
[d9afe96]881 <!-- XML::Parser -->
882 <bridgehead renderas="sect3" id="perl-xml-parser"
883 xreflabel="XML::Parser-&XML-Parser-version;">
884 XML::Parser-&XML-Parser-version;</bridgehead>
[231e47d7]885
[d9afe96]886 <indexterm zone="perl-modules perl-xml-parser">
887 <primary sortas="g-XML-Parser">XML::Parser</primary>
[231e47d7]888 </indexterm>
889
[d9afe96]890 <para>The XML::Parser module is a <application>Perl</application> extension
891 interface to James Clark's XML parser,
[daaee0be]892 <application>expat</application>. The module is installed using the
893 standard <application>Perl</application> module
[231e47d7]894 <xref linkend="perl-standard-install"/>.</para>
895
[8e2f6669]896 <itemizedlist>
[231e47d7]897 <listitem>
[8e2f6669]898 <para>
899 <ulink url="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-&XML-Parser-version;.tar.gz">
900 XML::Parser-&XML-Parser-version;</ulink>
901 </para>
[231e47d7]902 <itemizedlist>
903 <listitem>
[8e2f6669]904 <para>
905 <xref linkend="expat"/>
906 </para>
[895dad28]907 </listitem>
[c6405d8]908 <listitem>
[8e2f6669]909 <para>
910 <xref linkend="perl-lwp"/> (optionally used during the tests)
911 </para>
[c6405d8]912 </listitem>
913 </itemizedlist>
[895dad28]914
915 </listitem>
916 </itemizedlist>
917
[c1c5ff55]918 <!-- XML::Simple -->
919 <bridgehead renderas="sect3" id="perl-xml-simple"
920 xreflabel="XML::Simple-&XML-Simple-version;">
921 XML::Simple-&XML-Simple-version;</bridgehead>
922
923 <indexterm zone="perl-modules perl-xml-simple">
924 <primary sortas="g-XML-Simple">XML::Simple</primary>
925 </indexterm>
926
927 <para>The XML::Simple module is a <application>Perl</application> extension
928 that provides an easy API to read and write XML (especially config files).
[8e2f6669]929 This module and all dependency modules use the standard
[c1c5ff55]930 <xref linkend="perl-standard-install"/>.</para>
931
[8e2f6669]932 <itemizedlist>
[c1c5ff55]933 <listitem>
[8e2f6669]934 <para>
935 <ulink url="http://cpan.org/authors/id/G/GR/GRANTM/XML-Simple-&XML-Simple-version;.tar.gz">
936 XML::Simple-&XML-Simple-version;</ulink></para>
[c1c5ff55]937 <itemizedlist>
938 <listitem>
939 <para>One of the following four modules must be installed:</para>
940 <itemizedlist>
941 <listitem>
[8e2f6669]942 <para>
943 <ulink url="http://search.cpan.org/~grantm/XML-SAX/">XML-SAX</ulink>
944 </para>
[c1c5ff55]945 <itemizedlist>
946 <listitem>
[8e2f6669]947 <para>
948 <ulink url="http://search.cpan.org/~perigrin/XML-NamespaceSupport/">
949 XML-NamespaceSupport</ulink>
950 </para>
[c1c5ff55]951 </listitem>
952 </itemizedlist>
953 </listitem>
954 <listitem>
[8e2f6669]955 <para>
956 <ulink url="http://search.cpan.org/~bjoern/XML-SAX-Expat/">XML-SAX-Expat</ulink>
957 </para>
[c1c5ff55]958 </listitem>
959 <listitem>
[8e2f6669]960 <para id="perl-xml-libxml">
961 <ulink url="http://search.cpan.org/~shlomif/XML-LibXML/">XML-LibXML</ulink>
962 </para>
[c1c5ff55]963 </listitem>
964 <listitem>
[8e2f6669]965 <para>
966 <xref linkend="perl-xml-parser"/>
967 </para>
[c1c5ff55]968 </listitem>
969 </itemizedlist>
970 </listitem>
971 <listitem>
[8e2f6669]972 <para>
973 <ulink url="http://search.cpan.org/~chorny/Tie-IxHash/">Tie-IxHash</ulink>
974 </para>
[c1c5ff55]975 </listitem>
976 </itemizedlist>
977 </listitem>
978 </itemizedlist>
[17bcb81]979
[a6af3ab9]980 <!-- YAML
[f2981ec8]981 <bridgehead renderas="sect3" id="perl-yaml"
982 xreflabel="YAML-&YAML-version;">
983 YAML-&YAML-version;</bridgehead>
984
985 <indexterm zone="perl-modules perl-yaml">
986 <primary sortas="g-YAML">YAML</primary>
987 </indexterm>
988
[3202d0b]989 <para>The <application>YAML</application> modules implement a
990 <application>YAML</application> Loader and Dumper based on the
[29f80ebc]991 <application>YAML</application> 1.0 specification
[3202d0b]992 <ulink url="http://www.yaml.org/spec/"/>.
993 <application>YAML</application> is a generic data serialization language
994 that is optimized for human readability. It can be used to express the data
[aa6045e]995 structures of most modern programming languages. The module and
996 dependencies are installed using the standard
997 <application>Perl</application> module
998 <xref linkend="perl-standard-install"/>.</para>
[3202d0b]999
1000 <note>
1001 <para>The <application>YAML</application>,
1002 <application>Test::Base</application> and
1003 <application>Spiffy</application> modules will install UTF-8
1004 encoded manual pages. To modify the manual pages so that non-UTF-8
1005 encoded pages are installed, issue the following commands (before
1006 any other build commands):</para>
1007
1008<screen><literal>For <application>Spiffy</application>: <command>sed -i 's,\xc3\xb6,o,' lib/Spiffy.pm</command>
1009
1010For <application>Test::Base</application>: <command>sed -i 's,\xc3\xb6,o,' \
1011 lib/Test/Base{,/Filter}.pm \
1012 lib/Module/Install/TestBase.pm</command>
1013
1014For <application>YAML</application>: <command>sed -i 's,\xc3\xb6,o,' \
[c5fb8c3]1015 ysh \
1016 lib{,/Test}/YAML.pm \
[3202d0b]1017 lib/YAML/{Types,Node,Error,Marshall,Tag,Base}.pm \
1018 lib/YAML/{Loader,Dumper}{,/Base}.pm</command></literal></screen>
1019
1020 </note>
[f2981ec8]1021
[8e2f6669]1022 <itemizedlist>
[f2981ec8]1023 <listitem>
[8e2f6669]1024 <para>
1025 <ulink url="http://cpan.org/authors/id/I/IN/INGY/YAML-&YAML-version;.tar.gz">
1026 YAML-&YAML-version;</ulink></para>
[f2981ec8]1027 <itemizedlist>
1028 <listitem>
[8e2f6669]1029 <para>
1030 <ulink url="http://cpan.org/authors/id/I/IN/INGY/Test-Base-&Test-Base-version;.tar.gz">
1031 Test-Base-&Test-Base-version;</ulink>
1032 (optionally used during the tests)
1033 </para>
1034 <itemizedlist>
1035 <listitem>
1036 <para
1037 <ulink url="http://cpan.org/authors/id/I/IN/INGY/Spiffy-&Spiffy-version;.tar.gz">
1038 Spiffy-&Spiffy-version;</ulink></para>
1039 </listitem>
1040 </itemizedlist>
[ca29ea3]1041 </listitem>
1042 <listitem>
[8e2f6669]1043 <para>
1044 <xref linkend="perl-text-diff"/>
1045 (optionally used during the tests)
1046 </para>
[ca29ea3]1047 </listitem>
[f2981ec8]1048 </itemizedlist>
1049 </listitem>
1050 </itemizedlist>
[a6af3ab9]1051 -->
[17bcb81]1052
[9ee1058]1053 </sect2>
1054
[10a2ee5]1055 <sect2 role="installation" id="perl-standard-install"
1056 xreflabel="build and installation instructions">
1057 <title>Standard Installation of Perl Modules</title>
[9ee1058]1058
[10a2ee5]1059 <para>Install <application>Perl</application> modules by running the
1060 following commands:</para>
[9ee1058]1061
1062<screen><userinput>perl Makefile.PL &amp;&amp;
[52d29f7]1063make &amp;&amp;
[9ee1058]1064make test</userinput></screen>
[7fc4452]1065
[9ee1058]1066 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[7fc4452]1067
[9ee1058]1068<screen role="root"><userinput>make install</userinput></screen>
[62c964d]1069
[38c1e39]1070 <note>
1071 <para>When reinstalling a <application>Perl</application> module,
1072 sometimes older versions of the module being reinstalled are in other
1073 directories specified in <parameter>@INC</parameter>. To delete all
1074 other versions of the module being reinstalled (not simply older ones)
1075 set the <varname>UNINST</varname> variable:</para>
1076
[b14628ba]1077<screen><userinput>make install UNINST=1</userinput></screen>
[38c1e39]1078 </note>
1079
[9ee1058]1080 </sect2>
[bd23186f]1081
[4e82a189]1082 <sect2 role="installation">
[9ee1058]1083 <title>(Alternate) Auto Installation of Perl Modules.</title>
[62c964d]1084
[dbaa33d]1085 <para>There is an alternate way of installing the modules using the
1086 <command>cpan</command> shell <command>install</command> command. The
1087 command automatically downloads the source from the CPAN archive, extracts
1088 it, runs the compilation, testing and installation commands mentioned
1089 above, and removes the build source tree. You may still need to install
1090 dependent library packages before running the automated installation
1091 method.</para>
1092
1093 <para>The first time you run <command>cpan</command>, you'll be prompted
1094 to enter some information regarding download locations and methods. This
1095 information is retained in files located in
1096 <filename class='directory'>~/.cpan</filename>. Start the
1097 <command>cpan</command> shell by issuing '<command>cpan</command>' as the
1098 <systemitem class="username">root</systemitem> user. Any module may now be
1099 installed from the
1100 <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
1101 prompt with the command:</para>
[62c964d]1102
[1039de3]1103<screen role="root"><userinput>install <replaceable>&lt;Module::Name&gt;</replaceable></userinput></screen>
[62c964d]1104
[dbaa33d]1105 <para>For additional commands and help, issue '<command>help</command>'
1106 from the
1107 <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
1108 prompt.</para>
[3d60760]1109
[10a2ee5]1110 <para>Alternatively, for scripted or non-interactive installations, use the
1111 following syntax as the
[dbaa33d]1112 <systemitem class="username">root</systemitem> user to install one or more
1113 modules:</para>
1114
1115<screen role="root"><userinput>cpan -i <replaceable>&lt;Module1::Name&gt; &lt;Module2::Name&gt;</replaceable></userinput></screen>
[10a2ee5]1116
[dbaa33d]1117 <para>Review the <filename>cpan.1</filename> man page for additional
1118 parameters you can pass to <command>cpan</command> on the command
1119 line.</para>
[10a2ee5]1120
[9ee1058]1121 </sect2>
[3d60760]1122
[9ee1058]1123</sect1>
Note: See TracBrowser for help on using the repository browser.