[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[23460a6] | 6 |
|
---|
[a3a476d] | 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">
|
---|
[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
|
---|
| 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
|
---|
[10a2ee5] | 38 | names.</para>
|
---|
[9ee1058] | 39 |
|
---|
[428434e7] | 40 | <!-- This section commented out now because the new organization of files
|
---|
[bccbdaea] | 41 | on the Anduin server do not include md5sums for the .tar.gz Perl
|
---|
[428434e7] | 42 | module sources
|
---|
| 43 |
|
---|
[9ee1058] | 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[4e82a189] | 46 | <para>Download MD5 sums (HTTP):
|
---|
[9ee1058] | 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>
|
---|
[428434e7] | 54 | -->
|
---|
| 55 |
|
---|
[51f154b] | 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 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 78 |
|
---|
[231e47d7] | 79 | <indexterm zone="perl-modules perl-archive-zip">
|
---|
| 80 | <primary sortas="g-Archive-Zip">Archive::Zip</primary>
|
---|
[10a2ee5] | 81 | </indexterm>
|
---|
| 82 |
|
---|
[231e47d7] | 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
|
---|
[10a2ee5] | 87 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 88 |
|
---|
| 89 | <itemizedlist spacing='compact'>
|
---|
| 90 | <listitem>
|
---|
| 91 | <para><ulink
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 94 |
|
---|
| 95 | <itemizedlist>
|
---|
| 96 | <listitem>
|
---|
[231e47d7] | 97 | <para><xref linkend="perl-compress-zlib"/></para>
|
---|
[10a2ee5] | 98 | </listitem>
|
---|
| 99 | </itemizedlist>
|
---|
| 100 |
|
---|
| 101 | </listitem>
|
---|
| 102 | </itemizedlist>
|
---|
| 103 |
|
---|
[47daa5a] | 104 | <!-- Compress::Zlib -->
|
---|
| 105 | <bridgehead renderas="sect3" id="perl-compress-zlib"
|
---|
[231e47d7] | 106 | xreflabel="Compress::Zlib-&Compress-Zlib-version;">
|
---|
| 107 | Compress::Zlib-&Compress-Zlib-version;</bridgehead>
|
---|
[47daa5a] | 108 |
|
---|
| 109 | <indexterm zone="perl-modules perl-compress-zlib">
|
---|
| 110 | <primary sortas="g-Compress-Zlib">Compress::Zlib</primary>
|
---|
| 111 | </indexterm>
|
---|
| 112 |
|
---|
[6b830b9f] | 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>
|
---|
[47daa5a] | 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">
|
---|
[6b830b9f] | 136 | Compress-Zlib-&Compress-Zlib-version;</ulink>
|
---|
| 137 | (<xref linkend="perl-standard-install"/>)</para>
|
---|
[47daa5a] | 138 | </listitem>
|
---|
| 139 | </itemizedlist>
|
---|
| 140 |
|
---|
[231e47d7] | 141 | <!-- Date::Manip -->
|
---|
| 142 | <bridgehead renderas="sect3" id="perl-date-manip"
|
---|
| 143 | xreflabel="Date::Manip-&DateManip-version;">
|
---|
| 144 | Date::Manip-&DateManip-version;</bridgehead>
|
---|
[10a2ee5] | 145 |
|
---|
[231e47d7] | 146 | <indexterm zone="perl-modules perl-date-manip">
|
---|
| 147 | <primary sortas="g-Date-Manip">Date::Manip</primary>
|
---|
[10a2ee5] | 148 | </indexterm>
|
---|
| 149 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 156 |
|
---|
| 157 | <itemizedlist spacing='compact'>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para><ulink
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 165 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 170 |
|
---|
[231e47d7] | 171 | <indexterm zone="perl-modules perl-finance-quote">
|
---|
| 172 | <primary sortas="g-Finance-Quote">Finance::Quote</primary>
|
---|
| 173 | </indexterm>
|
---|
[10a2ee5] | 174 |
|
---|
[231e47d7] | 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>
|
---|
[6b830b9f] | 183 |
|
---|
[231e47d7] | 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>
|
---|
[6b830b9f] | 191 |
|
---|
[231e47d7] | 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>
|
---|
[6b830b9f] | 203 |
|
---|
| 204 | <itemizedlist spacing='compact'>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para><ulink
|
---|
[231e47d7] | 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>
|
---|
[6b830b9f] | 209 |
|
---|
| 210 | <itemizedlist>
|
---|
| 211 | <listitem>
|
---|
[231e47d7] | 212 | <para><xref linkend="perl-html-tableextract"/></para>
|
---|
| 213 | </listitem>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para><xref linkend="perl-lwp"/></para>
|
---|
[6b830b9f] | 216 | </listitem>
|
---|
| 217 | </itemizedlist>
|
---|
| 218 |
|
---|
| 219 | </listitem>
|
---|
[51f154b] | 220 | </itemizedlist>
|
---|
| 221 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 226 |
|
---|
[231e47d7] | 227 | <indexterm zone="perl-modules perl-finance-quotehist">
|
---|
| 228 | <primary sortas="g-Finance-QuoteHist">Finance::QuoteHist</primary>
|
---|
[10a2ee5] | 229 | </indexterm>
|
---|
| 230 |
|
---|
[231e47d7] | 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
|
---|
[10a2ee5] | 234 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 235 |
|
---|
| 236 | <itemizedlist spacing='compact'>
|
---|
| 237 | <listitem>
|
---|
| 238 | <para><ulink
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 241 |
|
---|
| 242 | <itemizedlist>
|
---|
| 243 | <listitem>
|
---|
[231e47d7] | 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>
|
---|
[9ee1058] | 259 | </listitem>
|
---|
| 260 | </itemizedlist>
|
---|
[10a2ee5] | 261 |
|
---|
[9ee1058] | 262 | </listitem>
|
---|
[10a2ee5] | 263 | </itemizedlist>
|
---|
| 264 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 269 |
|
---|
[231e47d7] | 270 | <indexterm zone="perl-modules perl-html-parser">
|
---|
| 271 | <primary sortas="g-HTML-Parser">HTML::Parser</primary>
|
---|
[10a2ee5] | 272 | </indexterm>
|
---|
| 273 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 280 |
|
---|
| 281 | <itemizedlist spacing='compact'>
|
---|
[9ee1058] | 282 | <listitem>
|
---|
[10a2ee5] | 283 | <para><ulink
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 286 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 297 |
|
---|
[231e47d7] | 298 | </listitem>
|
---|
| 299 | </itemizedlist>
|
---|
[10a2ee5] | 300 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 305 |
|
---|
[231e47d7] | 306 | <indexterm zone="perl-modules perl-html-tableextract">
|
---|
| 307 | <primary sortas="g-HTML-TableExtract">HTML::TableExtract</primary>
|
---|
[10a2ee5] | 308 | </indexterm>
|
---|
| 309 |
|
---|
[231e47d7] | 310 | <para></para>
|
---|
[10a2ee5] | 311 |
|
---|
| 312 | <itemizedlist spacing='compact'>
|
---|
[9ee1058] | 313 | <listitem>
|
---|
[10a2ee5] | 314 | <para><ulink
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 317 |
|
---|
[9ee1058] | 318 | <itemizedlist>
|
---|
| 319 | <listitem>
|
---|
[231e47d7] | 320 | <para><xref linkend="perl-html-parser"/></para>
|
---|
[9ee1058] | 321 | </listitem>
|
---|
| 322 | </itemizedlist>
|
---|
[10a2ee5] | 323 |
|
---|
[9ee1058] | 324 | </listitem>
|
---|
[231e47d7] | 325 | </itemizedlist>
|
---|
[10a2ee5] | 326 |
|
---|
[231e47d7] | 327 | <!-- LWP -->
|
---|
| 328 | <bridgehead renderas="sect3" id="perl-lwp"
|
---|
| 329 | xreflabel="LWP-&LWP-version;">
|
---|
| 330 | LWP-&LWP-version;</bridgehead>
|
---|
[10a2ee5] | 331 |
|
---|
[231e47d7] | 332 | <indexterm zone="perl-modules perl-lwp">
|
---|
| 333 | <primary sortas="g-LWP">LWP</primary>
|
---|
[10a2ee5] | 334 | </indexterm>
|
---|
| 335 |
|
---|
[231e47d7] | 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
|
---|
[10a2ee5] | 344 | <application>Perl</application> Module
|
---|
| 345 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 346 |
|
---|
| 347 | <itemizedlist spacing='compact'>
|
---|
[9ee1058] | 348 | <listitem>
|
---|
[10a2ee5] | 349 | <para><ulink
|
---|
[231e47d7] | 350 | url="http://cpan.org/authors/id/G/GA/GAAS/libwww-perl-&LWP-version;.tar.gz">
|
---|
| 351 | LWP-&LWP-version;</ulink></para>
|
---|
[10a2ee5] | 352 |
|
---|
[9ee1058] | 353 | <itemizedlist>
|
---|
| 354 | <listitem>
|
---|
[231e47d7] | 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>
|
---|
[9ee1058] | 360 | </indexterm>
|
---|
[10a2ee5] | 361 |
|
---|
[9ee1058] | 362 | <itemizedlist>
|
---|
| 363 | <listitem>
|
---|
[231e47d7] | 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>
|
---|
[9ee1058] | 370 | </indexterm>
|
---|
[10a2ee5] | 371 |
|
---|
[9ee1058] | 372 | <itemizedlist>
|
---|
| 373 | <listitem>
|
---|
[4e82a189] | 374 | <para id="perl-business-isbn-data"><ulink
|
---|
[5a9f4b0] | 375 | url="http://cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-&Business-ISBN-Data-version;.tar.gz">
|
---|
[9ee1058] | 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>
|
---|
[10a2ee5] | 380 |
|
---|
[9ee1058] | 381 | <itemizedlist>
|
---|
| 382 | <listitem>
|
---|
[10a2ee5] | 383 | <para><xref linkend="perl-test-pod"/></para>
|
---|
[9ee1058] | 384 | </listitem>
|
---|
| 385 | <listitem>
|
---|
[4e82a189] | 386 | <para id="perl-test-prereq"><ulink
|
---|
[5a9f4b0] | 387 | url="http://cpan.org/authors/id/B/BD/BDFOY/Test-Prereq-&Test-Prereq-version;.tar.gz">
|
---|
[9ee1058] | 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>
|
---|
[10a2ee5] | 392 |
|
---|
[9ee1058] | 393 | <itemizedlist>
|
---|
| 394 | <listitem>
|
---|
[10a2ee5] | 395 | <para><xref linkend="perl-module-info"/></para>
|
---|
| 396 | </listitem>
|
---|
| 397 | <listitem>
|
---|
| 398 | <para><xref linkend="perl-module-build"/> (optional)</para>
|
---|
[9ee1058] | 399 | </listitem>
|
---|
| 400 | <listitem>
|
---|
[4e82a189] | 401 | <para id="perl-module-corelist"><ulink
|
---|
[5a9f4b0] | 402 | url="http://cpan.org/authors/id/R/RG/RGARCIA/Module-CoreList-&Module-Corelist-version;.tar.gz">
|
---|
[9ee1058] | 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>
|
---|
[10a2ee5] | 409 |
|
---|
[9ee1058] | 410 | </listitem>
|
---|
| 411 | </itemizedlist>
|
---|
[10a2ee5] | 412 |
|
---|
[9ee1058] | 413 | </listitem>
|
---|
| 414 | </itemizedlist>
|
---|
[10a2ee5] | 415 |
|
---|
[9ee1058] | 416 | </listitem>
|
---|
| 417 | </itemizedlist>
|
---|
[10a2ee5] | 418 |
|
---|
[9ee1058] | 419 | </listitem>
|
---|
| 420 | <listitem>
|
---|
[10a2ee5] | 421 | <para><xref linkend="perl-html-parser"/></para>
|
---|
[9ee1058] | 422 | </listitem>
|
---|
| 423 | <listitem>
|
---|
[47daa5a] | 424 | <para><xref linkend="perl-compress-zlib"/></para>
|
---|
[9ee1058] | 425 | </listitem>
|
---|
| 426 | <listitem>
|
---|
[4e82a189] | 427 | <para id="perl-crypt-ssleay"><ulink
|
---|
[5a9f4b0] | 428 | url="http://cpan.org/authors/id/C/CH/CHAMAS/Crypt-SSLeay-&Crypt-SSLeay-version;.tar.gz">
|
---|
[10a2ee5] | 429 | Crypt-SSLeay-&Crypt-SSLeay-version;</ulink> (optional, for HTTPS
|
---|
| 430 | support)</para>
|
---|
[9ee1058] | 431 | <indexterm zone="perl-modules perl-crypt-ssleay">
|
---|
| 432 | <primary sortas="g-Crypt-SSLeay">Crypt::SSLeay</primary>
|
---|
| 433 | </indexterm>
|
---|
[10a2ee5] | 434 |
|
---|
| 435 | <itemizedlist>
|
---|
| 436 | <listitem>
|
---|
| 437 | <para><xref linkend="openssl"/></para>
|
---|
| 438 | </listitem>
|
---|
| 439 | </itemizedlist>
|
---|
| 440 |
|
---|
[9ee1058] | 441 | </listitem>
|
---|
| 442 | </itemizedlist>
|
---|
[10a2ee5] | 443 |
|
---|
[9ee1058] | 444 | </listitem>
|
---|
[10a2ee5] | 445 | </itemizedlist>
|
---|
| 446 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 451 |
|
---|
[231e47d7] | 452 | <indexterm zone="perl-modules perl-module-build">
|
---|
| 453 | <primary sortas="g-Module-Build">Module::Build</primary>
|
---|
[10a2ee5] | 454 | </indexterm>
|
---|
| 455 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 470 |
|
---|
| 471 | <itemizedlist spacing='compact'>
|
---|
[9ee1058] | 472 | <listitem>
|
---|
[10a2ee5] | 473 | <para><ulink
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 476 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 485 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 507 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 516 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 527 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 536 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 545 |
|
---|
[231e47d7] | 546 | <itemizedlist>
|
---|
| 547 | <listitem>
|
---|
| 548 | <para><xref linkend="perl-compress-zlib"/></para>
|
---|
| 549 | </listitem>
|
---|
| 550 | </itemizedlist>
|
---|
[10a2ee5] | 551 |
|
---|
[231e47d7] | 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>
|
---|
[10a2ee5] | 584 |
|
---|
[4223eb5] | 585 | </listitem>
|
---|
| 586 | <listitem>
|
---|
[231e47d7] | 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>
|
---|
[9ee1058] | 593 | </listitem>
|
---|
| 594 | </itemizedlist>
|
---|
[10a2ee5] | 595 |
|
---|
[9ee1058] | 596 | </listitem>
|
---|
| 597 | </itemizedlist>
|
---|
| 598 |
|
---|
[231e47d7] | 599 | <bridgehead renderas="sect4" id="perl-module-build-install"
|
---|
| 600 | xreflabel="modified build instructions">Module::Build Build and
|
---|
| 601 | Installation Instructions</bridgehead>
|
---|
[b61a7a16] | 602 |
|
---|
[231e47d7] | 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>
|
---|
[b61a7a16] | 617 | </indexterm>
|
---|
| 618 |
|
---|
[231e47d7] | 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
|
---|
[b61a7a16] | 650 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 651 |
|
---|
| 652 | <itemizedlist spacing='compact'>
|
---|
| 653 | <listitem>
|
---|
| 654 | <para><ulink
|
---|
[231e47d7] | 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>
|
---|
[b61a7a16] | 657 |
|
---|
| 658 | <itemizedlist>
|
---|
| 659 | <listitem>
|
---|
[231e47d7] | 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 |
|
---|
[b61a7a16] | 678 | </listitem>
|
---|
| 679 | <listitem>
|
---|
[231e47d7] | 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>
|
---|
[b61a7a16] | 686 | </listitem>
|
---|
| 687 | <listitem>
|
---|
[231e47d7] | 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 |
|
---|
[b61a7a16] | 707 | </listitem>
|
---|
| 708 | <listitem>
|
---|
[231e47d7] | 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>
|
---|
[b61a7a16] | 715 | </indexterm>
|
---|
| 716 | </listitem>
|
---|
| 717 | </itemizedlist>
|
---|
| 718 |
|
---|
| 719 | </listitem>
|
---|
| 720 | </itemizedlist>
|
---|
| 721 |
|
---|
[231e47d7] | 722 | <!-- Test::Pod -->
|
---|
| 723 | <bridgehead renderas="sect3" id="perl-test-pod"
|
---|
| 724 | xreflabel="Test::Pod">The Test::Pod Module</bridgehead>
|
---|
[895dad28] | 725 |
|
---|
[231e47d7] | 726 | <indexterm zone="perl-modules perl-test-pod">
|
---|
| 727 | <primary sortas="g-Test-Pod">Test::Pod</primary>
|
---|
[895dad28] | 728 | </indexterm>
|
---|
| 729 |
|
---|
[231e47d7] | 730 | <para>Another useful module, and one which is (typically optionally) used
|
---|
| 731 | by other modules during the build process is the Test:Pod module. This
|
---|
| 732 | module is used to check the validity of POD (Plain Old Documentation)
|
---|
| 733 | files. The Test::Pod module is typically included by module authors to
|
---|
| 734 | automatically find and check all POD files in a module distribution. This
|
---|
| 735 | module and all the dependencies can be installed using the
|
---|
[895dad28] | 736 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 737 |
|
---|
| 738 | <itemizedlist spacing='compact'>
|
---|
| 739 | <listitem>
|
---|
| 740 | <para><ulink
|
---|
[231e47d7] | 741 | url="http://cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-&Test-Pod-version;.tar.gz">
|
---|
| 742 | Test-Pod-&Test-Pod-version;</ulink></para>
|
---|
[895dad28] | 743 |
|
---|
| 744 | <itemizedlist>
|
---|
| 745 | <listitem>
|
---|
[231e47d7] | 746 | <para id="perl-pod-simple"><ulink
|
---|
| 747 | url="http://cpan.org/authors/id/A/AR/ARANDAL/Pod-Simple-&Pod-Simple-version;.tar.gz">
|
---|
| 748 | Pod-Simple-&Pod-Simple-version;</ulink></para>
|
---|
| 749 | <indexterm zone="perl-modules perl-pod-simple">
|
---|
| 750 | <primary sortas="g-Pod-Simple">Pod::Simple</primary>
|
---|
| 751 | </indexterm>
|
---|
| 752 |
|
---|
| 753 | <itemizedlist>
|
---|
| 754 | <listitem>
|
---|
| 755 | <para id="perl-pod-escapes"><ulink
|
---|
| 756 | url="http://cpan.org/authors/id/S/SB/SBURKE/Pod-Escapes-&Pod-Escapes-version;.tar.gz">
|
---|
| 757 | Pod-Escapes-&Pod-Escapes-version;</ulink></para>
|
---|
| 758 | <indexterm zone="perl-modules perl-pod-escapes">
|
---|
| 759 | <primary sortas="g-Pod-Escapes">Pod::Escapes</primary>
|
---|
| 760 | </indexterm>
|
---|
| 761 | </listitem>
|
---|
| 762 | </itemizedlist>
|
---|
| 763 |
|
---|
| 764 | </listitem>
|
---|
| 765 | <listitem>
|
---|
| 766 | <para><xref linkend="perl-test-simple"/></para>
|
---|
| 767 | </listitem>
|
---|
| 768 | </itemizedlist>
|
---|
| 769 |
|
---|
| 770 | </listitem>
|
---|
| 771 | </itemizedlist>
|
---|
| 772 |
|
---|
| 773 | <!-- Test::Simple -->
|
---|
| 774 | <bridgehead renderas="sect3" id="perl-test-simple"
|
---|
| 775 | xreflabel="Test::Simple">The Test::Simple Module</bridgehead>
|
---|
| 776 |
|
---|
| 777 | <indexterm zone="perl-modules perl-test-simple">
|
---|
| 778 | <primary sortas="g-Test-Simple">Test::Simple</primary>
|
---|
| 779 | </indexterm>
|
---|
| 780 |
|
---|
| 781 | <para>The Test::Simple module contains utilities designed to assist
|
---|
| 782 | developers in creating tests. A version of Test::Simple was installed
|
---|
| 783 | during LFS with the <application>Perl</application>-&LFS-Perl-version;
|
---|
| 784 | installation, however, some of the sub-modules contained in Test::Simple
|
---|
| 785 | have been updated (notably, the Test::More module) and these updated
|
---|
| 786 | modules are now required by other modules. This updated version of
|
---|
| 787 | Test::Simple also now includes the Test:Builder:Tester module, required by
|
---|
| 788 | many of the modules on this page. Note that installing this updated
|
---|
| 789 | version of Test::Simple will overwrite some files from the original
|
---|
| 790 | <application>Perl</application> installation, but there's really nothing to
|
---|
| 791 | be alarmed about as these modules are only used by developers creating
|
---|
| 792 | tests, or for running the test suites during additional module
|
---|
| 793 | installations.</para>
|
---|
| 794 |
|
---|
| 795 | <itemizedlist spacing='compact'>
|
---|
| 796 | <listitem>
|
---|
| 797 | <para><ulink
|
---|
| 798 | url="http://cpan.org/authors/id/M/MS/MSCHWERN/Test-Simple-&Test-Simple-version;.tar.gz">
|
---|
| 799 | Test-Simple-&Test-Simple-version;</ulink>
|
---|
| 800 | (<xref linkend="perl-standard-install"/>)</para>
|
---|
| 801 | </listitem>
|
---|
| 802 | </itemizedlist>
|
---|
| 803 |
|
---|
| 804 | <!-- XML::Parser -->
|
---|
| 805 | <bridgehead renderas="sect3" id="perl-xml-parser"
|
---|
| 806 | xreflabel="XML::Parser">The XML::Parser Module</bridgehead>
|
---|
| 807 |
|
---|
| 808 | <indexterm zone="perl-modules perl-xml-parser">
|
---|
| 809 | <primary sortas="g-XML-Parser">XML::Parser</primary>
|
---|
| 810 | </indexterm>
|
---|
| 811 |
|
---|
| 812 | <para>The XML::Parser module is a <application>Perl</application> extension
|
---|
| 813 | interface to James Clark's XML parser,
|
---|
| 814 | <application>expat</application>. The module can be installed using the
|
---|
| 815 | <application>Perl</application> Module
|
---|
| 816 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 817 |
|
---|
| 818 | <itemizedlist spacing='compact'>
|
---|
| 819 | <listitem>
|
---|
| 820 | <para><ulink
|
---|
| 821 | url="http://cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">
|
---|
| 822 | XML-Parser-&XML-Parser-version;</ulink></para>
|
---|
| 823 |
|
---|
| 824 | <itemizedlist>
|
---|
| 825 | <listitem>
|
---|
| 826 | <para><xref linkend="expat"/></para>
|
---|
| 827 | </listitem>
|
---|
| 828 | </itemizedlist>
|
---|
| 829 |
|
---|
| 830 | </listitem>
|
---|
| 831 | </itemizedlist>
|
---|
| 832 |
|
---|
| 833 | <!-- SGMLSpm -->
|
---|
| 834 | <bridgehead renderas="sect3" id="perl-sgmlspm"
|
---|
| 835 | xreflabel="SGMLSpm">The SGMLSpm Module</bridgehead>
|
---|
| 836 |
|
---|
| 837 | <indexterm zone="perl-modules perl-sgmlspm">
|
---|
| 838 | <primary sortas="g-SGMLSpm">SGMLSpm</primary>
|
---|
| 839 | </indexterm>
|
---|
| 840 |
|
---|
| 841 | <para>The SGMLSpm module is a <application>Perl</application> library
|
---|
| 842 | used for parsing the output from James Clark's SGMLS and NSGMLS
|
---|
| 843 | parsers. This module requires modified installation instructions, shown
|
---|
| 844 | below.</para>
|
---|
| 845 |
|
---|
| 846 | <itemizedlist spacing='compact'>
|
---|
| 847 | <listitem>
|
---|
| 848 | <para><ulink
|
---|
| 849 | url="http://cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-&SGMLSpm-version;.tar.gz">
|
---|
| 850 | SGMLSpm-&SGMLSpm-version;</ulink></para>
|
---|
| 851 | </listitem>
|
---|
| 852 | </itemizedlist>
|
---|
| 853 |
|
---|
| 854 | <para>If your system's <application>Perl</application> version is different
|
---|
| 855 | than &LFS-Perl-version;, you'll need to modify the <command>sed</command>
|
---|
| 856 | command below to reflect the version you have installed.</para>
|
---|
| 857 |
|
---|
| 858 | <screen><userinput>sed -i -e "s@/usr/local/bin@/usr/bin@" \
|
---|
| 859 | -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/&LFS-Perl-version;@" \
|
---|
| 860 | -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
|
---|
| 861 | Makefile</userinput></screen>
|
---|
| 862 |
|
---|
| 863 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 864 |
|
---|
| 865 | <screen role="root"><userinput>make install &&
|
---|
| 866 | install -v -d -m755 /usr/share/doc/perl5 &&
|
---|
| 867 | make install_html &&
|
---|
| 868 | rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl &&
|
---|
| 869 | install -v -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm</userinput></screen>
|
---|
| 870 |
|
---|
| 871 | <!-- Tk -->
|
---|
| 872 | <bridgehead renderas="sect3" id="perl-tk"
|
---|
| 873 | xreflabel="Perl-Tk">The Tk Module</bridgehead>
|
---|
| 874 |
|
---|
| 875 | <indexterm zone="perl-modules perl-tk">
|
---|
| 876 | <primary sortas="g-Tk">Tk</primary>
|
---|
| 877 | </indexterm>
|
---|
| 878 |
|
---|
| 879 | <para>The <application>Tk</application> module is a
|
---|
| 880 | <application>Perl</application> interface to the
|
---|
| 881 | <application>Tk</application> package. The goal of this release is Unicode
|
---|
| 882 | support via <application>Perl</application>'s and
|
---|
| 883 | core-<application>Tk</application>'s use of UTF-8. Tk-&Perl-Tk-version;
|
---|
| 884 | builds and loads into a threaded <application>Perl</application> but is NOT
|
---|
| 885 | yet thread safe. The module can be installed using the
|
---|
| 886 | <application>Perl</application> Module
|
---|
| 887 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 888 |
|
---|
| 889 | <itemizedlist spacing='compact'>
|
---|
| 890 | <listitem>
|
---|
| 891 | <para><ulink
|
---|
| 892 | url="http://cpan.org/authors/id/N/NI/NI-S/Tk-&Perl-Tk-version;.tar.gz">
|
---|
| 893 | Tk-&Perl-Tk-version;</ulink></para>
|
---|
| 894 |
|
---|
| 895 | <itemizedlist>
|
---|
| 896 | <listitem>
|
---|
| 897 | <para><xref linkend="tk"/> and <xref linkend="libjpeg"/></para>
|
---|
[895dad28] | 898 | </listitem>
|
---|
| 899 | </itemizedlist>
|
---|
| 900 |
|
---|
| 901 | </listitem>
|
---|
| 902 | </itemizedlist>
|
---|
| 903 |
|
---|
[9ee1058] | 904 | </sect2>
|
---|
| 905 |
|
---|
[10a2ee5] | 906 | <sect2 role="installation" id="perl-standard-install"
|
---|
| 907 | xreflabel="build and installation instructions">
|
---|
| 908 | <title>Standard Installation of Perl Modules</title>
|
---|
[9ee1058] | 909 |
|
---|
[10a2ee5] | 910 | <para>Install <application>Perl</application> modules by running the
|
---|
| 911 | following commands:</para>
|
---|
[9ee1058] | 912 |
|
---|
| 913 | <screen><userinput>perl Makefile.PL &&
|
---|
[52d29f7] | 914 | make &&
|
---|
[9ee1058] | 915 | make test</userinput></screen>
|
---|
[7fc4452] | 916 |
|
---|
[9ee1058] | 917 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[7fc4452] | 918 |
|
---|
[9ee1058] | 919 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[62c964d] | 920 |
|
---|
[9ee1058] | 921 | </sect2>
|
---|
[bd23186f] | 922 |
|
---|
[4e82a189] | 923 | <sect2 role="installation">
|
---|
[9ee1058] | 924 | <title>(Alternate) Auto Installation of Perl Modules.</title>
|
---|
[62c964d] | 925 |
|
---|
[4e82a189] | 926 | <para>There is an alternate way of installing the modules using
|
---|
| 927 | <application>Perl</application>'s built-in <command>install</command> command.
|
---|
| 928 | The command automatically downloads the source from the CPAN
|
---|
| 929 | archive, extracts it, runs the commands mentioned above, and removes the build
|
---|
| 930 | tree. You may still need to install dependent library packages before running
|
---|
[9ee1058] | 931 | the automated installation method.</para>
|
---|
[62c964d] | 932 |
|
---|
[4e82a189] | 933 | <para>The first time you run this command, you'll be prompted to enter some
|
---|
| 934 | information regarding download locations and methods. This information is
|
---|
| 935 | retained in files located in <filename class='directory'>~/.cpan</filename>.
|
---|
| 936 | Start the perl shell with the following command as the
|
---|
[9ee1058] | 937 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[62c964d] | 938 |
|
---|
[9ee1058] | 939 | <screen role="root"><userinput>perl -MCPAN -e shell</userinput></screen>
|
---|
[62c964d] | 940 |
|
---|
[9ee1058] | 941 | <para>Each module may now be installed from this shell with the command:</para>
|
---|
[62c964d] | 942 |
|
---|
[9ee1058] | 943 | <screen role="root"><userinput>install <replaceable>[Module::Name]</replaceable></userinput></screen>
|
---|
[62c964d] | 944 |
|
---|
[9ee1058] | 945 | <para>For additional commands and help, type <command>help</command>.</para>
|
---|
[3d60760] | 946 |
|
---|
[10a2ee5] | 947 | <para>Alternatively, for scripted or non-interactive installations, use the
|
---|
| 948 | following syntax as the
|
---|
| 949 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 950 |
|
---|
| 951 | <screen role="root"><userinput>perl -MCPAN -e 'install <replaceable>[Module::Name]</replaceable>'</userinput></screen>
|
---|
| 952 |
|
---|
[9ee1058] | 953 | </sect2>
|
---|
[3d60760] | 954 |
|
---|
[9ee1058] | 955 | </sect1>
|
---|