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