1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY perl_modules_md5sums_download_http "http://anduin.linuxfromscratch.org/sources/BLFS/SVN/Perl_Modules/Perl_Modules.gz.md5sums">
|
---|
8 | <!ENTITY perl_modules_md5sums_download_ftp "ftp://anduin.linuxfromscratch.org/BLFS/SVN/Perl_Modules/Perl_Modules.gz.md5sums">
|
---|
9 | ]>
|
---|
10 |
|
---|
11 | <sect1 id="perl-modules" xreflabel="Perl modules">
|
---|
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 |
|
---|
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.
|
---|
31 | Installation of the modules shown on this page should be accomplished by
|
---|
32 | installing the listed dependencies (from the bottom and working up to the
|
---|
33 | top) and then the desired module. Most references to
|
---|
34 | <application>Perl</application> modules are in the form of Module,
|
---|
35 | Module::SubName or Module::Sub::Name, though sometimes you'll see Module,
|
---|
36 | Module-SubName or Module-Sub-Name. The references on this page that reflect
|
---|
37 | an external URL are in the latter form, as these are the official package
|
---|
38 | names.</para>
|
---|
39 |
|
---|
40 | <!-- This section commented out now because the new organization of files
|
---|
41 | on the Anduin server do not include md5sums for the .tar.gz Perl
|
---|
42 | module sources
|
---|
43 |
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sums (HTTP):
|
---|
47 | <ulink url="&perl_modules_md5sums_download_http;"/></para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download MD5 sums (FTP):
|
---|
51 | <ulink url="&perl_modules_md5sums_download_ftp;"/></para>
|
---|
52 | </listitem>
|
---|
53 | </itemizedlist>
|
---|
54 | -->
|
---|
55 |
|
---|
56 | <!-- This is info for the Test::Builder::Tester module which may very well
|
---|
57 | be obsolete now. The packages that need it apparently also now need
|
---|
58 | Test::More-0.62 which is a core Perl module in an updated version. To
|
---|
59 | install the Test::More-0.62 version you must install the
|
---|
60 | Test::Simple-0.62 module which will overwrite the Perl core stuff.
|
---|
61 | The Test::Simple-0.62 module now includes the Test::Builder::Tester
|
---|
62 | module. Perl versions starting with Perl-5.9.x will have this module
|
---|
63 | include in the core at which time Test::Builder::Tester can be forever
|
---|
64 | removed from this page as it will then also be a core module.
|
---|
65 |
|
---|
66 | <para id="perl-test-builder-tester"><ulink
|
---|
67 | url="http://cpan.org/authors/id/M/MA/MARKF/Test-Builder-Tester-&Test-Builder-Tester-version;.tar.gz">
|
---|
68 | Test-Builder-Tester-&Test-Builder-Tester-version;</ulink></para>
|
---|
69 | <indexterm zone="perl-modules perl-test-builder-tester">
|
---|
70 | <primary sortas="g-Test-Builder-Tester">Test::Builder::Tester</primary>
|
---|
71 | </indexterm>
|
---|
72 | -->
|
---|
73 |
|
---|
74 | <!-- Archive::Zip -->
|
---|
75 | <bridgehead renderas="sect3" id="perl-archive-zip"
|
---|
76 | xreflabel="Archive::Zip-&Archive-Zip-version;">
|
---|
77 | Archive::Zip-&Archive-Zip-version;</bridgehead>
|
---|
78 |
|
---|
79 | <indexterm zone="perl-modules perl-archive-zip">
|
---|
80 | <primary sortas="g-Archive-Zip">Archive::Zip</primary>
|
---|
81 | </indexterm>
|
---|
82 |
|
---|
83 | <para>The Archive::Zip module allows a <application>Perl</application>
|
---|
84 | program to create, manipulate, read, and write Zip archive files. The
|
---|
85 | two modules listed below can be installed using the
|
---|
86 | <application>Perl</application> module
|
---|
87 | <xref linkend="perl-standard-install"/>.</para>
|
---|
88 |
|
---|
89 | <itemizedlist spacing='compact'>
|
---|
90 | <listitem>
|
---|
91 | <para><ulink
|
---|
92 | url="http://cpan.org/authors/id/S/SM/SMPETERS/Archive-Zip-&Archive-Zip-version;.tar.gz">
|
---|
93 | Archive-Zip-&Archive-Zip-version;</ulink></para>
|
---|
94 |
|
---|
95 | <itemizedlist>
|
---|
96 | <listitem>
|
---|
97 | <para><xref linkend="perl-compress-zlib"/></para>
|
---|
98 | </listitem>
|
---|
99 | </itemizedlist>
|
---|
100 |
|
---|
101 | </listitem>
|
---|
102 | </itemizedlist>
|
---|
103 |
|
---|
104 | <!-- Compress::Zlib -->
|
---|
105 | <bridgehead renderas="sect3" id="perl-compress-zlib"
|
---|
106 | xreflabel="Compress::Zlib-&Compress-Zlib-version;">
|
---|
107 | Compress::Zlib-&Compress-Zlib-version;</bridgehead>
|
---|
108 |
|
---|
109 | <indexterm zone="perl-modules perl-compress-zlib">
|
---|
110 | <primary sortas="g-Compress-Zlib">Compress::Zlib</primary>
|
---|
111 | </indexterm>
|
---|
112 |
|
---|
113 | <para>The Compress::Zlib module provides a <application>Perl</application>
|
---|
114 | interface to the <application>Zlib</application> compression library. Most
|
---|
115 | of the functionality provided by <application>Zlib</application> is
|
---|
116 | available in Compress::Zlib. The module can be split into two general areas
|
---|
117 | of functionality, namely in-memory compression/decompression and read/write
|
---|
118 | access to gzip files.</para>
|
---|
119 |
|
---|
120 | <note>
|
---|
121 | <para>The Compress::Zlib module requires the following
|
---|
122 | <command>sed</command> after untarring the distribution tarball (before
|
---|
123 | any other build commands) to use the system-installed copy of
|
---|
124 | <application>Zlib</application>.</para>
|
---|
125 |
|
---|
126 | <screen><userinput>sed -i -e "s|BUILD_ZLIB = True|BUILD_ZLIB = False|" \
|
---|
127 | -e "s|INCLUDE = ./zlib-src|INCLUDE = /usr/include|" \
|
---|
128 | -e "s|LIB = ./zlib-src|LIB = /usr/lib|" \
|
---|
129 | config.in</userinput></screen>
|
---|
130 | </note>
|
---|
131 |
|
---|
132 | <itemizedlist spacing='compact'>
|
---|
133 | <listitem>
|
---|
134 | <para><ulink
|
---|
135 | url="http://cpan.org/authors/id/P/PM/PMQS/Compress-Zlib-&Compress-Zlib-version;.tar.gz">
|
---|
136 | Compress-Zlib-&Compress-Zlib-version;</ulink>
|
---|
137 | (<xref linkend="perl-standard-install"/>)</para>
|
---|
138 | </listitem>
|
---|
139 | </itemizedlist>
|
---|
140 |
|
---|
141 | <!-- Date::Manip -->
|
---|
142 | <bridgehead renderas="sect3" id="perl-date-manip"
|
---|
143 | xreflabel="Date::Manip-&DateManip-version;">
|
---|
144 | Date::Manip-&DateManip-version;</bridgehead>
|
---|
145 |
|
---|
146 | <indexterm zone="perl-modules perl-date-manip">
|
---|
147 | <primary sortas="g-Date-Manip">Date::Manip</primary>
|
---|
148 | </indexterm>
|
---|
149 |
|
---|
150 | <para>Date::Manip is a set of routines designed to make any common
|
---|
151 | date/time manipulation easy to do. Operations such as comparing two times,
|
---|
152 | calculating a time a given amount of time from another, or parsing
|
---|
153 | international times are all easily done. From the very beginning, the
|
---|
154 | main focus of Date::Manip has been to be able to do ANY desired date/time
|
---|
155 | operation easily.</para>
|
---|
156 |
|
---|
157 | <itemizedlist spacing='compact'>
|
---|
158 | <listitem>
|
---|
159 | <para><ulink
|
---|
160 | url="http://cpan.org/authors/id/S/SB/SBECK/DateManip-&DateManip-version;.tar.gz">
|
---|
161 | DateManip-&DateManip-version;</ulink>
|
---|
162 | (<xref linkend="perl-standard-install"/>)</para>
|
---|
163 | </listitem>
|
---|
164 | </itemizedlist>
|
---|
165 |
|
---|
166 | <!-- Finance::Quote -->
|
---|
167 | <bridgehead renderas="sect3" id="perl-finance-quote"
|
---|
168 | xreflabel="Finance::Quote-&Finance-Quote-version;">
|
---|
169 | Finance::Quote-&Finance-Quote-version;</bridgehead>
|
---|
170 |
|
---|
171 | <indexterm zone="perl-modules perl-finance-quote">
|
---|
172 | <primary sortas="g-Finance-Quote">Finance::Quote</primary>
|
---|
173 | </indexterm>
|
---|
174 |
|
---|
175 | <para>Finance::Quote is used to get stock quotes from various Internet
|
---|
176 | sources, including Yahoo! Finance, Fidelity Investments, and the Australian
|
---|
177 | Stock Exchange. There are two methods of using this module – a
|
---|
178 | functional interface that is depreciated, and an object-orientated method
|
---|
179 | that provides greater flexibility and stability. With the exception of
|
---|
180 | straight currency exchange rates, all information is returned as a
|
---|
181 | two-dimensional hash (or a reference to such a hash, if called in a scalar
|
---|
182 | context).</para>
|
---|
183 |
|
---|
184 | <para>After you've installed the package, issue
|
---|
185 | <command>perldoc Finance::Quote</command> for full information.
|
---|
186 | Alternatively, you can issue <command>perldoc lib/Finance/Quote.pm</command>
|
---|
187 | after unpacking the distribution tarball and changing into the top-level
|
---|
188 | directory. The module and dependencies can be installed using the
|
---|
189 | <application>Perl</application> module
|
---|
190 | <xref linkend="perl-standard-install"/>.</para>
|
---|
191 |
|
---|
192 | <note>
|
---|
193 | <para>To run the regression test suite, you'll need to create a
|
---|
194 | symbolic link to the <filename class='directory'>test</filename>
|
---|
195 | directory using the following command after unpacking the tarball
|
---|
196 | and changing into the root directory of the sources:</para>
|
---|
197 |
|
---|
198 | <screen><userinput>ln -s test t</userinput></screen>
|
---|
199 |
|
---|
200 | <para>Some tests will fail depending on certain conditions. See the
|
---|
201 | <filename>INSTALL</filename> file for full details.</para>
|
---|
202 | </note>
|
---|
203 |
|
---|
204 | <itemizedlist spacing='compact'>
|
---|
205 | <listitem>
|
---|
206 | <para><ulink
|
---|
207 | url="http://cpan.org/authors/id/P/PJ/PJF/Finance-Quote-&Finance-Quote-version;.tar.gz">
|
---|
208 | Finance-Quote-&Finance-Quote-version;</ulink></para>
|
---|
209 |
|
---|
210 | <itemizedlist>
|
---|
211 | <listitem>
|
---|
212 | <para><xref linkend="perl-html-tableextract"/></para>
|
---|
213 | </listitem>
|
---|
214 | <listitem>
|
---|
215 | <para><xref linkend="perl-lwp"/></para>
|
---|
216 | </listitem>
|
---|
217 | </itemizedlist>
|
---|
218 |
|
---|
219 | </listitem>
|
---|
220 | </itemizedlist>
|
---|
221 |
|
---|
222 | <!-- Finance::QuoteHist -->
|
---|
223 | <bridgehead renderas="sect3" id="perl-finance-quotehist"
|
---|
224 | xreflabel="Finance::QuoteHist-&Finance-QuoteHist-version;">
|
---|
225 | Finance::QuoteHist-&Finance-QuoteHist-version;</bridgehead>
|
---|
226 |
|
---|
227 | <indexterm zone="perl-modules perl-finance-quotehist">
|
---|
228 | <primary sortas="g-Finance-QuoteHist">Finance::QuoteHist</primary>
|
---|
229 | </indexterm>
|
---|
230 |
|
---|
231 | <para>The Finance::QuoteHist bundle is several modules designed to fetch
|
---|
232 | historical stock quotes from the web. The module and dependencies can be
|
---|
233 | installed using the <application>Perl</application> module
|
---|
234 | <xref linkend="perl-standard-install"/>.</para>
|
---|
235 |
|
---|
236 | <itemizedlist spacing='compact'>
|
---|
237 | <listitem>
|
---|
238 | <para><ulink
|
---|
239 | url="http://cpan.org/authors/id/M/MS/MSISK/Finance-QuoteHist-&Finance-QuoteHist-version;.tar.gz">
|
---|
240 | Finance-QuoteHist-&Finance-QuoteHist-version;</ulink></para>
|
---|
241 |
|
---|
242 | <itemizedlist>
|
---|
243 | <listitem>
|
---|
244 | <para><xref linkend="perl-html-tableextract"/></para>
|
---|
245 | </listitem>
|
---|
246 | <listitem>
|
---|
247 | <para><xref linkend="perl-lwp"/></para>
|
---|
248 | </listitem>
|
---|
249 | <listitem>
|
---|
250 | <para><xref linkend="perl-date-manip"/></para>
|
---|
251 | </listitem>
|
---|
252 | <listitem>
|
---|
253 | <para id="perl-text-csv_xs"><ulink
|
---|
254 | url="http://cpan.org/authors/id/J/JW/JWIED/Text-CSV_XS-&Text-CSV_XS-version;.tar.gz">
|
---|
255 | Text-CSV_XS-&Text-CSV_XS-version;</ulink></para>
|
---|
256 | <indexterm zone="perl-modules perl-text-csv_xs">
|
---|
257 | <primary sortas="g-Text-CSV_XS">Text::CSV_XS</primary>
|
---|
258 | </indexterm>
|
---|
259 | </listitem>
|
---|
260 | </itemizedlist>
|
---|
261 |
|
---|
262 | </listitem>
|
---|
263 | </itemizedlist>
|
---|
264 |
|
---|
265 | <!-- HTML::Parser -->
|
---|
266 | <bridgehead renderas="sect3" id="perl-html-parser"
|
---|
267 | xreflabel="HTML::Parser-&HTML-Parser-version;">
|
---|
268 | HTML::Parser-&HTML-Parser-version;</bridgehead>
|
---|
269 |
|
---|
270 | <indexterm zone="perl-modules perl-html-parser">
|
---|
271 | <primary sortas="g-HTML-Parser">HTML::Parser</primary>
|
---|
272 | </indexterm>
|
---|
273 |
|
---|
274 | <para>The HTML::Parser distribution is a collection of modules that parse
|
---|
275 | and extract information from HTML documents. In order to use the included
|
---|
276 | HTML::HeadParser module, you will also need to install
|
---|
277 | <xref linkend="perl-lwp"/>. The two modules listed below can be installed
|
---|
278 | using the <application>Perl</application> Module
|
---|
279 | <xref linkend="perl-standard-install"/>.</para>
|
---|
280 |
|
---|
281 | <itemizedlist spacing='compact'>
|
---|
282 | <listitem>
|
---|
283 | <para><ulink
|
---|
284 | url="http://cpan.org/authors/id/G/GA/GAAS/HTML-Parser-&HTML-Parser-version;.tar.gz">
|
---|
285 | HTML-Parser-&HTML-Parser-version;</ulink></para>
|
---|
286 |
|
---|
287 | <itemizedlist>
|
---|
288 | <listitem>
|
---|
289 | <para id="perl-html-tagset"><ulink
|
---|
290 | url="http://cpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-&HTML-Tagset-version;.tar.gz">
|
---|
291 | HTML-Tagset-&HTML-Tagset-version;</ulink></para>
|
---|
292 | <indexterm zone="perl-modules perl-html-tagset">
|
---|
293 | <primary sortas="g-HTML-Tagset">HTML::Tagset</primary>
|
---|
294 | </indexterm>
|
---|
295 | </listitem>
|
---|
296 | </itemizedlist>
|
---|
297 |
|
---|
298 | </listitem>
|
---|
299 | </itemizedlist>
|
---|
300 |
|
---|
301 | <!-- HTML::TableExtract -->
|
---|
302 | <bridgehead renderas="sect3" id="perl-html-tableextract"
|
---|
303 | xreflabel="HTML::TableExtract-&HTML-TableExtract-version;">
|
---|
304 | HTML::TableExtract-&HTML-TableExtract-version;</bridgehead>
|
---|
305 |
|
---|
306 | <indexterm zone="perl-modules perl-html-tableextract">
|
---|
307 | <primary sortas="g-HTML-TableExtract">HTML::TableExtract</primary>
|
---|
308 | </indexterm>
|
---|
309 |
|
---|
310 | <para></para>
|
---|
311 |
|
---|
312 | <itemizedlist spacing='compact'>
|
---|
313 | <listitem>
|
---|
314 | <para><ulink
|
---|
315 | url="http://cpan.org/authors/id/M/MS/MSISK/HTML-TableExtract-&HTML-TableExtract-version;.tar.gz">
|
---|
316 | HTML-TableExtract-&HTML-TableExtract-version;</ulink></para>
|
---|
317 |
|
---|
318 | <itemizedlist>
|
---|
319 | <listitem>
|
---|
320 | <para><xref linkend="perl-html-parser"/></para>
|
---|
321 | </listitem>
|
---|
322 | </itemizedlist>
|
---|
323 |
|
---|
324 | </listitem>
|
---|
325 | </itemizedlist>
|
---|
326 |
|
---|
327 | <!-- LWP -->
|
---|
328 | <bridgehead renderas="sect3" id="perl-lwp"
|
---|
329 | xreflabel="LWP-&LWP-version;">
|
---|
330 | LWP-&LWP-version;</bridgehead>
|
---|
331 |
|
---|
332 | <indexterm zone="perl-modules perl-lwp">
|
---|
333 | <primary sortas="g-LWP">LWP</primary>
|
---|
334 | </indexterm>
|
---|
335 |
|
---|
336 | <para>The libwww-perl (LWP) collection is a set of
|
---|
337 | <application>Perl</application> modules which provides a simple and
|
---|
338 | consistent application programming interface to the World-Wide Web. The
|
---|
339 | main focus of the library is to provide classes and functions that allow
|
---|
340 | you to write WWW clients. The library also contains modules that are of
|
---|
341 | more general use and even classes that help you implement simple HTTP
|
---|
342 | servers. The LWP modules and all its <application>Perl</application>
|
---|
343 | module dependencies can be installed using the
|
---|
344 | <application>Perl</application> Module
|
---|
345 | <xref linkend="perl-standard-install"/>.</para>
|
---|
346 |
|
---|
347 | <itemizedlist spacing='compact'>
|
---|
348 | <listitem>
|
---|
349 | <para><ulink
|
---|
350 | url="http://cpan.org/authors/id/G/GA/GAAS/libwww-perl-&LWP-version;.tar.gz">
|
---|
351 | LWP-&LWP-version;</ulink></para>
|
---|
352 |
|
---|
353 | <itemizedlist>
|
---|
354 | <listitem>
|
---|
355 | <para id="perl-uri"><ulink
|
---|
356 | url="http://cpan.org/authors/id/G/GA/GAAS/URI-&URI-version;.tar.gz">
|
---|
357 | URI-&URI-version;</ulink></para>
|
---|
358 | <indexterm zone="perl-modules perl-uri">
|
---|
359 | <primary sortas="g-URI">URI</primary>
|
---|
360 | </indexterm>
|
---|
361 |
|
---|
362 | <itemizedlist>
|
---|
363 | <listitem>
|
---|
364 | <para id="perl-business-isbn"><ulink
|
---|
365 | url="http://cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-&Business-ISBN-version;.tar.gz">
|
---|
366 | Business-ISBN-&Business-ISBN-version;</ulink> (optional, only
|
---|
367 | used during the test suite)</para>
|
---|
368 | <indexterm zone="perl-modules perl-business-isbn">
|
---|
369 | <primary sortas="g-Business-ISBN">Business::ISBN</primary>
|
---|
370 | </indexterm>
|
---|
371 |
|
---|
372 | <itemizedlist>
|
---|
373 | <listitem>
|
---|
374 | <para id="perl-business-isbn-data"><ulink
|
---|
375 | url="http://cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-&Business-ISBN-Data-version;.tar.gz">
|
---|
376 | Business-ISBN-Data-&Business-ISBN-Data-version;</ulink></para>
|
---|
377 | <indexterm zone="perl-modules perl-business-isbn-data">
|
---|
378 | <primary sortas="g-Business-ISBN-Data">Business::ISBN::Data</primary>
|
---|
379 | </indexterm>
|
---|
380 |
|
---|
381 | <itemizedlist>
|
---|
382 | <listitem>
|
---|
383 | <para><xref linkend="perl-test-pod"/></para>
|
---|
384 | </listitem>
|
---|
385 | <listitem>
|
---|
386 | <para id="perl-test-prereq"><ulink
|
---|
387 | url="http://cpan.org/authors/id/B/BD/BDFOY/Test-Prereq-&Test-Prereq-version;.tar.gz">
|
---|
388 | Test-Prereq-&Test-Prereq-version;</ulink></para>
|
---|
389 | <indexterm zone="perl-modules perl-test-prereq">
|
---|
390 | <primary sortas="g-Test-Prereq">Test::Prereq</primary>
|
---|
391 | </indexterm>
|
---|
392 |
|
---|
393 | <itemizedlist>
|
---|
394 | <listitem>
|
---|
395 | <para><xref linkend="perl-module-info"/></para>
|
---|
396 | </listitem>
|
---|
397 | <listitem>
|
---|
398 | <para><xref linkend="perl-module-build"/> (optional)</para>
|
---|
399 | </listitem>
|
---|
400 | <listitem>
|
---|
401 | <para id="perl-module-corelist"><ulink
|
---|
402 | url="http://cpan.org/authors/id/R/RG/RGARCIA/Module-CoreList-&Module-Corelist-version;.tar.gz">
|
---|
403 | Module-CoreList-&Module-Corelist-version;</ulink></para>
|
---|
404 | <indexterm zone="perl-modules perl-module-corelist">
|
---|
405 | <primary sortas="g-Module-Corelist">Module::Corelist</primary>
|
---|
406 | </indexterm>
|
---|
407 | </listitem>
|
---|
408 | </itemizedlist>
|
---|
409 |
|
---|
410 | </listitem>
|
---|
411 | </itemizedlist>
|
---|
412 |
|
---|
413 | </listitem>
|
---|
414 | </itemizedlist>
|
---|
415 |
|
---|
416 | </listitem>
|
---|
417 | </itemizedlist>
|
---|
418 |
|
---|
419 | </listitem>
|
---|
420 | <listitem>
|
---|
421 | <para><xref linkend="perl-html-parser"/></para>
|
---|
422 | </listitem>
|
---|
423 | <listitem>
|
---|
424 | <para><xref linkend="perl-compress-zlib"/></para>
|
---|
425 | </listitem>
|
---|
426 | <listitem>
|
---|
427 | <para id="perl-crypt-ssleay"><ulink
|
---|
428 | url="http://cpan.org/authors/id/C/CH/CHAMAS/Crypt-SSLeay-&Crypt-SSLeay-version;.tar.gz">
|
---|
429 | Crypt-SSLeay-&Crypt-SSLeay-version;</ulink> (optional, for HTTPS
|
---|
430 | support)</para>
|
---|
431 | <indexterm zone="perl-modules perl-crypt-ssleay">
|
---|
432 | <primary sortas="g-Crypt-SSLeay">Crypt::SSLeay</primary>
|
---|
433 | </indexterm>
|
---|
434 |
|
---|
435 | <itemizedlist>
|
---|
436 | <listitem>
|
---|
437 | <para><xref linkend="openssl"/></para>
|
---|
438 | </listitem>
|
---|
439 | </itemizedlist>
|
---|
440 |
|
---|
441 | </listitem>
|
---|
442 | </itemizedlist>
|
---|
443 |
|
---|
444 | </listitem>
|
---|
445 | </itemizedlist>
|
---|
446 |
|
---|
447 | <!-- Module::Build -->
|
---|
448 | <bridgehead renderas="sect3" id="perl-module-build"
|
---|
449 | xreflabel="Module::Build-&Module-Build-version;">
|
---|
450 | Module::Build-&Module-Build-version;</bridgehead>
|
---|
451 |
|
---|
452 | <indexterm zone="perl-modules perl-module-build">
|
---|
453 | <primary sortas="g-Module-Build">Module::Build</primary>
|
---|
454 | </indexterm>
|
---|
455 |
|
---|
456 | <para>The Module::Build module is a system for building, testing, and
|
---|
457 | installing <application>Perl</application> modules. It is meant to be an
|
---|
458 | alternative to ExtUtils::MakeMaker. Developers may alter the behavior of
|
---|
459 | the module through subclassing in a much more straightforward way than with
|
---|
460 | MakeMaker. It also does not require a <command>make</command> command on
|
---|
461 | your system. Most of the Module::Build code is
|
---|
462 | pure-<application>Perl</application> and written in a very cross-platform
|
---|
463 | way.</para>
|
---|
464 |
|
---|
465 | <para>The Module::Build module (as well as any other
|
---|
466 | <application>Perl</application> module that uses the Module::Build build
|
---|
467 | system) uses <xref linkend="perl-module-build-install"/>. All the
|
---|
468 | dependencies can be installed using the
|
---|
469 | <xref linkend="perl-standard-install"/>.</para>
|
---|
470 |
|
---|
471 | <itemizedlist spacing='compact'>
|
---|
472 | <listitem>
|
---|
473 | <para><ulink
|
---|
474 | url="http://cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-&Module-Build-version;.tar.gz">
|
---|
475 | Module-Build-&Module-Build-version;</ulink></para>
|
---|
476 |
|
---|
477 | <itemizedlist>
|
---|
478 | <listitem>
|
---|
479 | <para id="perl-module-signature"><ulink
|
---|
480 | url="http://cpan.org/authors/id/A/AU/AUTRIJUS/Module-Signature-&Module-Signature-version;.tar.gz">
|
---|
481 | Module-Signature-&Module-Signature-version;</ulink> (optional)</para>
|
---|
482 | <indexterm zone="perl-modules perl-module-signature">
|
---|
483 | <primary sortas="g-Module-Signature">Module::Signature</primary>
|
---|
484 | </indexterm>
|
---|
485 |
|
---|
486 | <itemizedlist>
|
---|
487 | <listitem>
|
---|
488 | <para id="perl-digest-sha"><ulink
|
---|
489 | url="http://cpan.org/authors/id/M/MS/MSHELOR/Digest-SHA-&Digest-SHA-version;.tar.gz">
|
---|
490 | Digest-SHA-&Digest-SHA-version;</ulink></para>
|
---|
491 | <indexterm zone="perl-modules perl-digest-sha">
|
---|
492 | <primary sortas="g-Digest-SHA">Digest::SHA</primary>
|
---|
493 | </indexterm>
|
---|
494 | </listitem>
|
---|
495 | <listitem>
|
---|
496 | <para id="perl-par-dist"><ulink
|
---|
497 | url="http://cpan.org/authors/id/A/AU/AUTRIJUS/PAR-Dist-&PAR-Dist-version;.tar.gz">
|
---|
498 | PAR-Dist-&PAR-Dist-version;</ulink></para>
|
---|
499 | <indexterm zone="perl-modules perl-par-dist">
|
---|
500 | <primary sortas="g-PAR-Dist">PAR::Dist</primary>
|
---|
501 | </indexterm>
|
---|
502 | </listitem>
|
---|
503 | <listitem>
|
---|
504 | <para><xref linkend="gnupg"/></para>
|
---|
505 | </listitem>
|
---|
506 | </itemizedlist>
|
---|
507 |
|
---|
508 | </listitem>
|
---|
509 | <listitem>
|
---|
510 | <para id="perl-extutils-parsexs"><ulink
|
---|
511 | url="http://cpan.org/authors/id/K/KW/KWILLIAMS/ExtUtils-ParseXS-&ExtUtils-ParseXS-version;.tar.gz">
|
---|
512 | ExtUtils-ParseXS-&ExtUtils-ParseXS-version;</ulink></para>
|
---|
513 | <indexterm zone="perl-modules perl-extutils-parsexs">
|
---|
514 | <primary sortas="g-ExtUtils-ParseXS">ExtUtils::ParseXS</primary>
|
---|
515 | </indexterm>
|
---|
516 |
|
---|
517 | <itemizedlist>
|
---|
518 | <listitem>
|
---|
519 | <para id="perl-extutils-cbuilder"><ulink
|
---|
520 | url="http://cpan.org/authors/id/K/KW/KWILLIAMS/ExtUtils-CBuilder-&ExtUtils-CBuilder-version;.tar.gz">
|
---|
521 | ExtUtils-CBuilder-&ExtUtils-CBuilder-version;</ulink></para>
|
---|
522 | <indexterm zone="perl-modules perl-extutils-cbuilder">
|
---|
523 | <primary sortas="g-ExtUtils-CBuilder">ExtUtils::CBuilder</primary>
|
---|
524 | </indexterm>
|
---|
525 | </listitem>
|
---|
526 | </itemizedlist>
|
---|
527 |
|
---|
528 | </listitem>
|
---|
529 | <listitem>
|
---|
530 | <para id="perl-archive-tar"><ulink
|
---|
531 | url="http://cpan.org/authors/id/K/KA/KANE/Archive-Tar-&Archive-Tar-version;.tar.gz">
|
---|
532 | Archive-Tar-&Archive-Tar-version;</ulink></para>
|
---|
533 | <indexterm zone="perl-modules perl-archive-tar">
|
---|
534 | <primary sortas="g-Archive-Tar">Archive::Tar</primary>
|
---|
535 | </indexterm>
|
---|
536 |
|
---|
537 | <itemizedlist>
|
---|
538 | <listitem>
|
---|
539 | <para id="perl-io-zlib"><ulink
|
---|
540 | url="http://cpan.org/authors/id/T/TO/TOMHUGHES/IO-Zlib-&IO-Zlib-version;.tar.gz">
|
---|
541 | IO-Zlib-&IO-Zlib-version;</ulink></para>
|
---|
542 | <indexterm zone="perl-modules perl-io-zlib">
|
---|
543 | <primary sortas="g-IO-Zlib">IO::Zlib</primary>
|
---|
544 | </indexterm>
|
---|
545 |
|
---|
546 | <itemizedlist>
|
---|
547 | <listitem>
|
---|
548 | <para><xref linkend="perl-compress-zlib"/></para>
|
---|
549 | </listitem>
|
---|
550 | </itemizedlist>
|
---|
551 |
|
---|
552 | </listitem>
|
---|
553 | <listitem>
|
---|
554 | <para><xref linkend="perl-test-pod"/></para>
|
---|
555 | </listitem>
|
---|
556 | <listitem>
|
---|
557 | <para id="perl-text-diff"><ulink
|
---|
558 | url="http://cpan.org/authors/id/R/RB/RBS/Text-Diff-&Text-Diff-version;.tar.gz">
|
---|
559 | Text-Diff-&Text-Diff-version;</ulink></para>
|
---|
560 | <indexterm zone="perl-modules perl-text-diff">
|
---|
561 | <primary sortas="g-Text-Diff">Text::Diff</primary>
|
---|
562 | </indexterm>
|
---|
563 |
|
---|
564 | <itemizedlist>
|
---|
565 | <listitem>
|
---|
566 | <para id="perl-algorithm-diff"><ulink
|
---|
567 | url="http://cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-&Algorithm-Diff-version;.zip">
|
---|
568 | Algorithm-Diff-&Algorithm-Diff-version;</ulink></para>
|
---|
569 | <indexterm zone="perl-modules perl-algorithm-diff">
|
---|
570 | <primary sortas="g-Algorithm-Diff">Algorithm::Diff</primary>
|
---|
571 | </indexterm>
|
---|
572 |
|
---|
573 | <itemizedlist>
|
---|
574 | <listitem>
|
---|
575 | <para><xref linkend="unzip"/></para>
|
---|
576 | </listitem>
|
---|
577 | </itemizedlist>
|
---|
578 |
|
---|
579 | </listitem>
|
---|
580 | </itemizedlist>
|
---|
581 |
|
---|
582 | </listitem>
|
---|
583 | </itemizedlist>
|
---|
584 |
|
---|
585 | </listitem>
|
---|
586 | <listitem>
|
---|
587 | <para id="perl-yaml"><ulink
|
---|
588 | url="http://cpan.org/authors/id/I/IN/INGY/YAML-&YAML-version;.tar.gz">
|
---|
589 | YAML-&YAML-version;</ulink></para>
|
---|
590 | <indexterm zone="perl-modules perl-yaml">
|
---|
591 | <primary sortas="g-YAML">YAML</primary>
|
---|
592 | </indexterm>
|
---|
593 | </listitem>
|
---|
594 | </itemizedlist>
|
---|
595 |
|
---|
596 | </listitem>
|
---|
597 | </itemizedlist>
|
---|
598 |
|
---|
599 | <bridgehead renderas="sect4" id="perl-module-build-install"
|
---|
600 | xreflabel="modified build instructions">Module::Build Build and
|
---|
601 | Installation Instructions</bridgehead>
|
---|
602 |
|
---|
603 | <screen><userinput>perl Build.PL &&
|
---|
604 | ./Build test</userinput></screen>
|
---|
605 |
|
---|
606 | <para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
|
---|
607 |
|
---|
608 | <screen role='root'><userinput>./Build install</userinput></screen>
|
---|
609 |
|
---|
610 | <!-- Module::Info -->
|
---|
611 | <bridgehead renderas="sect3" id="perl-module-info"
|
---|
612 | xreflabel="Module::Info-&Module-Info-version;">
|
---|
613 | Module::Info-&Module-Info-version;</bridgehead>
|
---|
614 |
|
---|
615 | <indexterm zone="perl-modules perl-module-info">
|
---|
616 | <primary sortas="g-Module-Info">Module::Info</primary>
|
---|
617 | </indexterm>
|
---|
618 |
|
---|
619 | <para>The Module::Info module is quite useful for tasks other than just
|
---|
620 | support of other modules. It can be used from the command-line to tell you
|
---|
621 | if a particular module is included in, or has been installed into your
|
---|
622 | <application>Perl</application> installation. Additionally, Module::Info
|
---|
623 | can tell you what version of a module is installed and what dependencies
|
---|
624 | are required for it. You can even use Module::Info to gather dependencies
|
---|
625 | of uninstalled modules.</para>
|
---|
626 |
|
---|
627 | <itemizedlist spacing='compact'>
|
---|
628 | <listitem>
|
---|
629 | <para><ulink
|
---|
630 | url="http://cpan.org/authors/id/M/MB/MBARBON/Module-Info-&Module-Info-version;.tar.gz">
|
---|
631 | Module-Info-&Module-Info-version;</ulink>
|
---|
632 | (<xref linkend="perl-standard-install"/>)</para>
|
---|
633 | </listitem>
|
---|
634 | </itemizedlist>
|
---|
635 |
|
---|
636 | <!-- Net::DNS -->
|
---|
637 | <bridgehead renderas="sect3" id="perl-net-dns"
|
---|
638 | xreflabel="Net-DNS-&Net-DNS-version;">
|
---|
639 | Net::DNS-&Net-DNS-version;</bridgehead>
|
---|
640 |
|
---|
641 | <indexterm zone="perl-modules perl-net-dns">
|
---|
642 | <primary sortas="g-Net-DNS">Net::DNS</primary>
|
---|
643 | </indexterm>
|
---|
644 |
|
---|
645 | <para>Net::DNS is a DNS resolver implemented in
|
---|
646 | <application>Perl</application>. It can be used to perform nearly any type
|
---|
647 | of DNS query from a <application>Perl</application> script. The Net::DNS
|
---|
648 | module and all its dependencies can be installed using the
|
---|
649 | <application>Perl</application> Module
|
---|
650 | <xref linkend="perl-standard-install"/>.</para>
|
---|
651 |
|
---|
652 | <itemizedlist spacing='compact'>
|
---|
653 | <listitem>
|
---|
654 | <para><ulink
|
---|
655 | url="http://cpan.org/authors/id/O/OL/OLAF/Net-DNS-&Net-DNS-version;.tar.gz">
|
---|
656 | Net-DNS-&Net-DNS-version;</ulink></para>
|
---|
657 |
|
---|
658 | <itemizedlist>
|
---|
659 | <listitem>
|
---|
660 | <para id="perl-digest-hmac"><ulink
|
---|
661 | url="http://cpan.org/authors/id/G/GA/GAAS/Digest-HMAC-&Digest-HMAC-version;.tar.gz">
|
---|
662 | Digest-HMAC-&Digest-HMAC-version;</ulink></para>
|
---|
663 | <indexterm zone="perl-modules perl-digest-hmac">
|
---|
664 | <primary sortas="g-Digest-HMAC">Digest::HMAC</primary>
|
---|
665 | </indexterm>
|
---|
666 |
|
---|
667 | <itemizedlist>
|
---|
668 | <listitem>
|
---|
669 | <para id="perl-digest-sha1"><ulink
|
---|
670 | url="http://cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-&Digest-SHA1-version;.tar.gz">
|
---|
671 | Digest-SHA1-&Digest-SHA1-version;</ulink></para>
|
---|
672 | <indexterm zone="perl-modules perl-digest-sha1">
|
---|
673 | <primary sortas="g-Digest-SHA1">Digest::SHA1</primary>
|
---|
674 | </indexterm>
|
---|
675 | </listitem>
|
---|
676 | </itemizedlist>
|
---|
677 |
|
---|
678 | </listitem>
|
---|
679 | <listitem>
|
---|
680 | <para id="perl-net-ip"><ulink
|
---|
681 | url="http://cpan.org/authors/id/M/MA/MANU/Net-IP-&Net-IP-version;.tar.gz">
|
---|
682 | Net-IP-&Net-IP-version;</ulink></para>
|
---|
683 | <indexterm zone="perl-modules perl-net-ip">
|
---|
684 | <primary sortas="g-Net-IP">Net::IP</primary>
|
---|
685 | </indexterm>
|
---|
686 | </listitem>
|
---|
687 | <listitem>
|
---|
688 | <para id="perl-io-socket-inet6"><ulink
|
---|
689 | url="http://cpan.org/authors/id/M/MO/MONDEJAR/IO-Socket-INET6-&IO-Socket-INET6-version;.tar.gz">
|
---|
690 | IO-Socket-INET6-&IO-Socket-INET6-version;</ulink> (required for
|
---|
691 | IPv6 support)</para>
|
---|
692 | <indexterm zone="perl-modules perl-io-socket-inet6">
|
---|
693 | <primary sortas="g-IO-Socket-INET6">IO::Socket::INET6</primary>
|
---|
694 | </indexterm>
|
---|
695 |
|
---|
696 | <itemizedlist>
|
---|
697 | <listitem>
|
---|
698 | <para id="perl-socket6"><ulink
|
---|
699 | url="http://cpan.org/authors/id/U/UM/UMEMOTO/Socket6-&Socket6-version;.tar.gz">
|
---|
700 | Socket6-&Socket6-version;</ulink></para>
|
---|
701 | <indexterm zone="perl-modules perl-socket6">
|
---|
702 | <primary sortas="g-Socket6">Socket6</primary>
|
---|
703 | </indexterm>
|
---|
704 | </listitem>
|
---|
705 | </itemizedlist>
|
---|
706 |
|
---|
707 | </listitem>
|
---|
708 | <listitem>
|
---|
709 | <para id="perl-digest-bubblebabble"><ulink
|
---|
710 | url="http://cpan.org/authors/id/B/BT/BTROTT/Digest-BubbleBabble-&Digest-BubbleBabble-version;.tar.gz">
|
---|
711 | Digest-BubbleBabble-&Digest-BubbleBabble-version;</ulink>
|
---|
712 | (optional, only used during the test suite)</para>
|
---|
713 | <indexterm zone="perl-modules perl-digest-bubblebabble">
|
---|
714 | <primary sortas="g-Digest-BubbleBabble">Digest::BubbleBabble</primary>
|
---|
715 | </indexterm>
|
---|
716 | </listitem>
|
---|
717 | </itemizedlist>
|
---|
718 |
|
---|
719 | </listitem>
|
---|
720 | </itemizedlist>
|
---|
721 |
|
---|
722 | <!-- SGMLSpm -->
|
---|
723 | <bridgehead renderas="sect3" id="perl-sgmlspm"
|
---|
724 | xreflabel="SGMLSpm-&SGMLSpm-version;">
|
---|
725 | SGMLSpm-&SGMLSpm-version;</bridgehead>
|
---|
726 |
|
---|
727 | <indexterm zone="perl-modules perl-sgmlspm">
|
---|
728 | <primary sortas="g-SGMLSpm">SGMLSpm</primary>
|
---|
729 | </indexterm>
|
---|
730 |
|
---|
731 | <para>The SGMLSpm module is a <application>Perl</application> library
|
---|
732 | used for parsing the output from James Clark's SGMLS and NSGMLS
|
---|
733 | parsers. This module requires modified installation instructions, shown
|
---|
734 | below.</para>
|
---|
735 |
|
---|
736 | <itemizedlist spacing='compact'>
|
---|
737 | <listitem>
|
---|
738 | <para><ulink
|
---|
739 | url="http://cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-&SGMLSpm-version;.tar.gz">
|
---|
740 | SGMLSpm-&SGMLSpm-version;</ulink></para>
|
---|
741 | </listitem>
|
---|
742 | </itemizedlist>
|
---|
743 |
|
---|
744 | <para>If your system's <application>Perl</application> version is different
|
---|
745 | than &LFS-Perl-version;, you'll need to modify the <command>sed</command>
|
---|
746 | command below to reflect the version you have installed.</para>
|
---|
747 |
|
---|
748 | <screen><userinput>sed -i -e "s@/usr/local/bin@/usr/bin@" \
|
---|
749 | -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/&LFS-Perl-version;@" \
|
---|
750 | -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
|
---|
751 | Makefile</userinput></screen>
|
---|
752 |
|
---|
753 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
754 |
|
---|
755 | <screen role="root"><userinput>make install &&
|
---|
756 | install -v -m755 -d /usr/share/doc/perl5 &&
|
---|
757 | make install_html &&
|
---|
758 | rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl &&
|
---|
759 | install -v -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm</userinput></screen>
|
---|
760 |
|
---|
761 | <!-- Test::Pod -->
|
---|
762 | <bridgehead renderas="sect3" id="perl-test-pod"
|
---|
763 | xreflabel="Test::Pod-&Test-Pod-version;">
|
---|
764 | Test::Pod-&Test-Pod-version;</bridgehead>
|
---|
765 |
|
---|
766 | <indexterm zone="perl-modules perl-test-pod">
|
---|
767 | <primary sortas="g-Test-Pod">Test::Pod</primary>
|
---|
768 | </indexterm>
|
---|
769 |
|
---|
770 | <para>The Test:Pod module is (most of the time, optionally) used by other
|
---|
771 | modules during the build process to check the validity of POD (Plain Old
|
---|
772 | Documentation) files. The Test::Pod module is typically included by module
|
---|
773 | authors to automatically find and check all POD files in a module
|
---|
774 | distribution. This module and all the dependencies can be installed using the
|
---|
775 | <xref linkend="perl-standard-install"/>.</para>
|
---|
776 |
|
---|
777 | <itemizedlist spacing='compact'>
|
---|
778 | <listitem>
|
---|
779 | <para><ulink
|
---|
780 | url="http://cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-&Test-Pod-version;.tar.gz">
|
---|
781 | Test-Pod-&Test-Pod-version;</ulink></para>
|
---|
782 |
|
---|
783 | <itemizedlist>
|
---|
784 | <listitem>
|
---|
785 | <para id="perl-pod-simple"><ulink
|
---|
786 | url="http://cpan.org/authors/id/A/AR/ARANDAL/Pod-Simple-&Pod-Simple-version;.tar.gz">
|
---|
787 | Pod-Simple-&Pod-Simple-version;</ulink></para>
|
---|
788 | <indexterm zone="perl-modules perl-pod-simple">
|
---|
789 | <primary sortas="g-Pod-Simple">Pod::Simple</primary>
|
---|
790 | </indexterm>
|
---|
791 |
|
---|
792 | <itemizedlist>
|
---|
793 | <listitem>
|
---|
794 | <para id="perl-pod-escapes"><ulink
|
---|
795 | url="http://cpan.org/authors/id/S/SB/SBURKE/Pod-Escapes-&Pod-Escapes-version;.tar.gz">
|
---|
796 | Pod-Escapes-&Pod-Escapes-version;</ulink></para>
|
---|
797 | <indexterm zone="perl-modules perl-pod-escapes">
|
---|
798 | <primary sortas="g-Pod-Escapes">Pod::Escapes</primary>
|
---|
799 | </indexterm>
|
---|
800 | </listitem>
|
---|
801 | </itemizedlist>
|
---|
802 |
|
---|
803 | </listitem>
|
---|
804 | <listitem>
|
---|
805 | <para><xref linkend="perl-test-simple"/></para>
|
---|
806 | </listitem>
|
---|
807 | </itemizedlist>
|
---|
808 |
|
---|
809 | </listitem>
|
---|
810 | </itemizedlist>
|
---|
811 |
|
---|
812 | <!-- Test::Simple -->
|
---|
813 | <bridgehead renderas="sect3" id="perl-test-simple"
|
---|
814 | xreflabel="Test::Simple-&Test-Simple-version;">
|
---|
815 | Test::Simple-&Test-Simple-version;</bridgehead>
|
---|
816 |
|
---|
817 | <indexterm zone="perl-modules perl-test-simple">
|
---|
818 | <primary sortas="g-Test-Simple">Test::Simple</primary>
|
---|
819 | </indexterm>
|
---|
820 |
|
---|
821 | <para>The Test::Simple module contains utilities designed to assist
|
---|
822 | developers in creating tests. A version of Test::Simple was installed
|
---|
823 | during LFS with the <application>Perl</application>-&LFS-Perl-version;
|
---|
824 | installation, however, some of the sub-modules contained in Test::Simple
|
---|
825 | have been updated (notably, the Test::More module) and these updated
|
---|
826 | modules are now required by other modules. This updated version of
|
---|
827 | Test::Simple also now includes the Test:Builder:Tester module, required by
|
---|
828 | many of the modules on this page. Note that installing this updated
|
---|
829 | version of Test::Simple will overwrite some files from the original
|
---|
830 | <application>Perl</application> installation, but there's really nothing to
|
---|
831 | be alarmed about as these modules are only used by developers creating
|
---|
832 | tests, or for running the test suites during additional module
|
---|
833 | installations.</para>
|
---|
834 |
|
---|
835 | <itemizedlist spacing='compact'>
|
---|
836 | <listitem>
|
---|
837 | <para><ulink
|
---|
838 | url="http://cpan.org/authors/id/M/MS/MSCHWERN/Test-Simple-&Test-Simple-version;.tar.gz">
|
---|
839 | Test-Simple-&Test-Simple-version;</ulink>
|
---|
840 | (<xref linkend="perl-standard-install"/>)</para>
|
---|
841 | </listitem>
|
---|
842 | </itemizedlist>
|
---|
843 |
|
---|
844 | <!-- Tk -->
|
---|
845 | <bridgehead renderas="sect3" id="tk-perl"
|
---|
846 | xreflabel="Tk-Perl-&Tk-Perl-version;">
|
---|
847 | Tk-&Tk-Perl-version;</bridgehead>
|
---|
848 |
|
---|
849 | <indexterm zone="perl-modules tk-perl">
|
---|
850 | <primary sortas="g-Tk">Tk</primary>
|
---|
851 | </indexterm>
|
---|
852 |
|
---|
853 | <para>The <application>Tk</application> module is a
|
---|
854 | <application>Perl</application> interface to the
|
---|
855 | <application>Tk</application> package. The goal of this release is Unicode
|
---|
856 | support via <application>Perl</application>'s and
|
---|
857 | core-<application>Tk</application>'s use of UTF-8. Tk-&Tk-Perl-version;
|
---|
858 | builds and loads into a threaded <application>Perl</application> but is NOT
|
---|
859 | yet thread safe. The module can be installed using the
|
---|
860 | <application>Perl</application> Module
|
---|
861 | <xref linkend="perl-standard-install"/>.</para>
|
---|
862 |
|
---|
863 | <itemizedlist spacing='compact'>
|
---|
864 | <listitem>
|
---|
865 | <para><ulink
|
---|
866 | url="http://cpan.org/authors/id/N/NI/NI-S/Tk-&Tk-Perl-version;.tar.gz">
|
---|
867 | Tk-&Tk-Perl-version;</ulink></para>
|
---|
868 |
|
---|
869 | <itemizedlist>
|
---|
870 | <listitem>
|
---|
871 | <para><xref linkend="tk"/> and <xref linkend="libjpeg"/></para>
|
---|
872 | </listitem>
|
---|
873 | </itemizedlist>
|
---|
874 |
|
---|
875 | </listitem>
|
---|
876 | </itemizedlist>
|
---|
877 |
|
---|
878 | <!-- XML::Parser -->
|
---|
879 | <bridgehead renderas="sect3" id="perl-xml-parser"
|
---|
880 | xreflabel="XML::Parser-&XML-Parser-version;">
|
---|
881 | XML::Parser-&XML-Parser-version;</bridgehead>
|
---|
882 |
|
---|
883 | <indexterm zone="perl-modules perl-xml-parser">
|
---|
884 | <primary sortas="g-XML-Parser">XML::Parser</primary>
|
---|
885 | </indexterm>
|
---|
886 |
|
---|
887 | <para>The XML::Parser module is a <application>Perl</application> extension
|
---|
888 | interface to James Clark's XML parser,
|
---|
889 | <application>expat</application>. The module can be installed using the
|
---|
890 | <application>Perl</application> Module
|
---|
891 | <xref linkend="perl-standard-install"/>.</para>
|
---|
892 |
|
---|
893 | <itemizedlist spacing='compact'>
|
---|
894 | <listitem>
|
---|
895 | <para><ulink
|
---|
896 | url="http://cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">
|
---|
897 | XML-Parser-&XML-Parser-version;</ulink></para>
|
---|
898 |
|
---|
899 | <itemizedlist>
|
---|
900 | <listitem>
|
---|
901 | <para><xref linkend="expat"/></para>
|
---|
902 | </listitem>
|
---|
903 | </itemizedlist>
|
---|
904 |
|
---|
905 | </listitem>
|
---|
906 | </itemizedlist>
|
---|
907 |
|
---|
908 | </sect2>
|
---|
909 |
|
---|
910 | <sect2 role="installation" id="perl-standard-install"
|
---|
911 | xreflabel="build and installation instructions">
|
---|
912 | <title>Standard Installation of Perl Modules</title>
|
---|
913 |
|
---|
914 | <para>Install <application>Perl</application> modules by running the
|
---|
915 | following commands:</para>
|
---|
916 |
|
---|
917 | <screen><userinput>perl Makefile.PL &&
|
---|
918 | make &&
|
---|
919 | make test</userinput></screen>
|
---|
920 |
|
---|
921 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
922 |
|
---|
923 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
924 |
|
---|
925 | </sect2>
|
---|
926 |
|
---|
927 | <sect2 role="installation">
|
---|
928 | <title>(Alternate) Auto Installation of Perl Modules.</title>
|
---|
929 |
|
---|
930 | <para>There is an alternate way of installing the modules using
|
---|
931 | <application>Perl</application>'s built-in <command>install</command>
|
---|
932 | command. The command automatically downloads the source from the CPAN
|
---|
933 | archive, extracts it, runs the commands mentioned above, and removes the
|
---|
934 | build source tree. You may still need to install dependent library
|
---|
935 | packages before running the automated installation method.</para>
|
---|
936 |
|
---|
937 | <para>The first time you run this command, you'll be prompted to enter some
|
---|
938 | information regarding download locations and methods. This information is
|
---|
939 | retained in files located in <filename class='directory'>~/.cpan</filename>.
|
---|
940 | Start the perl shell with the following command as the
|
---|
941 | <systemitem class="username">root</systemitem> user:</para>
|
---|
942 |
|
---|
943 | <screen role="root"><userinput>perl -MCPAN -e shell</userinput></screen>
|
---|
944 |
|
---|
945 | <para>Each module may now be installed from this shell with the
|
---|
946 | command:</para>
|
---|
947 |
|
---|
948 | <screen role="root"><userinput>install <replaceable>[Module::Name]</replaceable></userinput></screen>
|
---|
949 |
|
---|
950 | <para>For additional commands and help, type <command>help</command>.</para>
|
---|
951 |
|
---|
952 | <para>Alternatively, for scripted or non-interactive installations, use the
|
---|
953 | following syntax as the
|
---|
954 | <systemitem class="username">root</systemitem> user:</para>
|
---|
955 |
|
---|
956 | <screen role="root"><userinput>perl -MCPAN -e 'install <replaceable>[Module::Name]</replaceable>'</userinput></screen>
|
---|
957 |
|
---|
958 | </sect2>
|
---|
959 |
|
---|
960 | </sect1>
|
---|