[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
|
---|
[b3aacc0] | 32 | installing the dependencies in the order listed. The Perl Module standard
|
---|
| 33 | build and installation instructions are shown at the bottom of this page.
|
---|
| 34 | </para>
|
---|
[9ee1058] | 35 |
|
---|
[b3aacc0] | 36 | <!-- <itemizedlist spacing="compact">
|
---|
[9ee1058] | 37 | <listitem>
|
---|
[4e82a189] | 38 | <para>Download MD5 sums (HTTP):
|
---|
[9ee1058] | 39 | <ulink url="&perl_modules_md5sums_download_http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download MD5 sums (FTP):
|
---|
| 43 | <ulink url="&perl_modules_md5sums_download_ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
[b3aacc0] | 45 | </itemizedlist> -->
|
---|
[de91b35] | 46 |
|
---|
[231e47d7] | 47 | <!-- Archive::Zip -->
|
---|
| 48 | <bridgehead renderas="sect3" id="perl-archive-zip"
|
---|
| 49 | xreflabel="Archive::Zip-&Archive-Zip-version;">
|
---|
| 50 | Archive::Zip-&Archive-Zip-version;</bridgehead>
|
---|
[10a2ee5] | 51 |
|
---|
[231e47d7] | 52 | <indexterm zone="perl-modules perl-archive-zip">
|
---|
[254592b] | 53 | <primary sortas="a-Archive-Zip">Archive::Zip</primary>
|
---|
[10a2ee5] | 54 | </indexterm>
|
---|
| 55 |
|
---|
[231e47d7] | 56 | <para>The Archive::Zip module allows a <application>Perl</application>
|
---|
[b3aacc0] | 57 | program to create, manipulate, read, and write Zip archive files. This
|
---|
| 58 | module uses the standard <xref linkend="perl-standard-install"/>.</para>
|
---|
[10a2ee5] | 59 |
|
---|
[9faa3b74] | 60 | &lfs75_checked;
|
---|
[254592b] | 61 |
|
---|
[8e2f6669] | 62 | <itemizedlist>
|
---|
[c1968e6] | 63 | <listitem><literallayout><ulink url="http:/cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-&Archive-Zip-version;.tar.gz">Archive::Zip-&Archive-Zip-version;</ulink>
|
---|
| 64 | http:/cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-&Archive-Zip-version;.tar.gz
|
---|
[1fb54051] | 65 | MD5 sum: e804985def2c1f0ed640ab4ca6aa85a1</literallayout>
|
---|
[8e2f6669] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[e777a27] | 69 | <!-- <!- Glib ->
|
---|
[17bcb81] | 70 | <bridgehead renderas="sect3" id="perl-glib"
|
---|
| 71 | xreflabel="Glib-&Glib-perl-version;">
|
---|
| 72 | Glib-&Glib-perl-version;</bridgehead>
|
---|
| 73 |
|
---|
[8e2f6669] | 74 | <indexterm zone="perl-modules perl-glib">
|
---|
[254592b] | 75 | <primary sortas="a-Glib">Glib</primary>
|
---|
[17bcb81] | 76 | </indexterm>
|
---|
| 77 |
|
---|
| 78 | <para>
|
---|
| 79 | This module is a <application>Perl</application> wrapper around
|
---|
[8e2f6669] | 80 | <application>GLib</application> that attempts to provide a perlish
|
---|
[17bcb81] | 81 | interface while remaining as true as possible to the underlying C API, so
|
---|
| 82 | that any reference materials you can find on using GLib may still apply to
|
---|
[8e2f6669] | 83 | using the libraries from Perl. This module and the dependency modules use
|
---|
| 84 | the standard <xref linkend="perl-standard-install"/>.
|
---|
[17bcb81] | 85 | </para>
|
---|
| 86 |
|
---|
[066dad5a] | 87 | &lfs7 4_checked;
|
---|
[f5cb49d] | 88 |
|
---|
[8e2f6669] | 89 | <itemizedlist>
|
---|
[17bcb81] | 90 | <listitem>
|
---|
| 91 | <para>
|
---|
[74f73ede] | 92 | <ulink url="http://www.cpan.org/authors/id/T/TS/TSCH/Glib-&Glib-perl-version;.tar.gz">
|
---|
[b3aacc0] | 93 | Glib-&Glib-perl-version;</ulink> (MD5 sum: 1d81a8aec5f7f1182a96cfaaf119d866)
|
---|
[17bcb81] | 94 | </para>
|
---|
| 95 | <itemizedlist>
|
---|
| 96 | <listitem>
|
---|
[8e2f6669] | 97 | <para>
|
---|
| 98 | <ulink url="http://search.cpan.org/~xaoc/ExtUtils-PkgConfig/">ExtUtils::PkgConfig</ulink>
|
---|
| 99 | </para>
|
---|
| 100 | <itemizedlist>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>
|
---|
| 103 | <ulink url="http://search.cpan.org/~flora/ExtUtils-Depends/">ExtUtils::Depends</ulink>
|
---|
| 104 | </para>
|
---|
| 105 | </listitem>
|
---|
| 106 | </itemizedlist>
|
---|
[17bcb81] | 107 | </listitem>
|
---|
| 108 | </itemizedlist>
|
---|
| 109 | </listitem>
|
---|
| 110 | </itemizedlist>
|
---|
[e777a27] | 111 | -->
|
---|
[231e47d7] | 112 | <!-- HTML::Parser -->
|
---|
| 113 | <bridgehead renderas="sect3" id="perl-html-parser"
|
---|
| 114 | xreflabel="HTML::Parser-&HTML-Parser-version;">
|
---|
| 115 | HTML::Parser-&HTML-Parser-version;</bridgehead>
|
---|
[10a2ee5] | 116 |
|
---|
[231e47d7] | 117 | <indexterm zone="perl-modules perl-html-parser">
|
---|
[254592b] | 118 | <primary sortas="a-HTML-Parser">HTML::Parser</primary>
|
---|
[10a2ee5] | 119 | </indexterm>
|
---|
| 120 |
|
---|
[231e47d7] | 121 | <para>The HTML::Parser distribution is a collection of modules that parse
|
---|
[8e2f6669] | 122 | and extract information from HTML documents. This module and the dependency
|
---|
| 123 | modules use the standard
|
---|
[231e47d7] | 124 | <xref linkend="perl-standard-install"/>.</para>
|
---|
[10a2ee5] | 125 |
|
---|
[9faa3b74] | 126 | &lfs75_checked;
|
---|
[254592b] | 127 |
|
---|
[8e2f6669] | 128 | <itemizedlist>
|
---|
[1fb54051] | 129 | <listitem><literallayout><ulink url="http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-&HTML-Parser-version;.tar.gz">HTML::Parser-&HTML-Parser-version;</ulink>
|
---|
| 130 | http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-&HTML-Parser-version;.tar.gz
|
---|
| 131 | MD5 sum: 9128a45893097dfa3bf03301b19c5efe</literallayout>
|
---|
[231e47d7] | 132 | <itemizedlist>
|
---|
[1fb54051] | 133 | <listitem><literallayout><ulink url="http://search.cpan.org/~petdance/HTML-Tagset/">HTML::Tagset</ulink>
|
---|
| 134 | (http://search.cpan.org/~petdance/HTML-Tagset/)</literallayout>
|
---|
[231e47d7] | 135 | </listitem>
|
---|
[daaee0be] | 136 | <listitem>
|
---|
[8e2f6669] | 137 | <para>
|
---|
| 138 | <xref linkend="perl-lwp"/> (circular; howevever, it can
|
---|
| 139 | be installed after HTML::Parser as it is only a run-time
|
---|
| 140 | requirement for the included HTML::HeadParser module)
|
---|
| 141 | </para>
|
---|
[daaee0be] | 142 | </listitem>
|
---|
[231e47d7] | 143 | </itemizedlist>
|
---|
| 144 | </listitem>
|
---|
| 145 | </itemizedlist>
|
---|
[10a2ee5] | 146 |
|
---|
[402f23d3] | 147 | <!-- HTML::TableExtract
|
---|
[231e47d7] | 148 | <bridgehead renderas="sect3" id="perl-html-tableextract"
|
---|
| 149 | xreflabel="HTML::TableExtract-&HTML-TableExtract-version;">
|
---|
| 150 | HTML::TableExtract-&HTML-TableExtract-version;</bridgehead>
|
---|
[10a2ee5] | 151 |
|
---|
[231e47d7] | 152 | <indexterm zone="perl-modules perl-html-tableextract">
|
---|
[254592b] | 153 | <primary sortas="a-HTML-TableExtract">HTML::TableExtract</primary>
|
---|
[10a2ee5] | 154 | </indexterm>
|
---|
| 155 |
|
---|
[daaee0be] | 156 | <para>HTML::TableExtract is a module that simplifies the extraction of the
|
---|
| 157 | content contained in tables within HTML documents, extracted either as
|
---|
| 158 | text or encoded element trees. Tables of note may be specified using
|
---|
[8e2f6669] | 159 | Headers, Depth, Count, Attributes, or some combination of the four. This
|
---|
| 160 | module and dependency modules use the standard
|
---|
[6473e74] | 161 | <xref linkend="perl-standard-install"/>.</para>
|
---|
[10a2ee5] | 162 |
|
---|
[8e2f6669] | 163 | <itemizedlist>
|
---|
[9ee1058] | 164 | <listitem>
|
---|
[8e2f6669] | 165 | <para>
|
---|
| 166 | <ulink url="http://cpan.org/authors/id/M/MS/MSISK/HTML-TableExtract-&HTML-TableExtract-version;.tar.gz">
|
---|
[b3aacc0] | 167 | HTML::TableExtract-&HTML-TableExtract-version;</ulink> (MD5sum: ac1b8fa092d53931a9f3fdbba330f5b0)
|
---|
[8e2f6669] | 168 | </para>
|
---|
[9ee1058] | 169 | <itemizedlist>
|
---|
| 170 | <listitem>
|
---|
[8e2f6669] | 171 | <para>
|
---|
| 172 | <ulink url="http://search.cpan.org/~msisk/HTML-Element-Extended/">HTML::Element::Extended</ulink>
|
---|
| 173 | </para>
|
---|
[daaee0be] | 174 | <itemizedlist>
|
---|
| 175 | <listitem>
|
---|
[8e2f6669] | 176 | <para>
|
---|
| 177 | <ulink url="http://search.cpan.org/~cjm/HTML-Tree/">HTML::Tree</ulink>
|
---|
| 178 | </para>
|
---|
[daaee0be] | 179 | <itemizedlist>
|
---|
| 180 | <listitem>
|
---|
[8e2f6669] | 181 | <para>
|
---|
| 182 | <xref linkend="perl-html-parser"/>
|
---|
| 183 | </para>
|
---|
[daaee0be] | 184 | </listitem>
|
---|
| 185 | <listitem>
|
---|
[8e2f6669] | 186 | <para>
|
---|
| 187 | <ulink url="http://search.cpan.org/dist/Test-Fatal/">Test::Fatal</ulink>
|
---|
[831caa1f] | 188 | (optionally used in the test suite)
|
---|
[8e2f6669] | 189 | </para>
|
---|
| 190 | <itemizedlist>
|
---|
| 191 | <listitem>
|
---|
| 192 | <para>
|
---|
| 193 | <ulink url="http://search.cpan.org/~doy/Try-Tiny/">Try::Tiny</ulink>
|
---|
| 194 | </para>
|
---|
| 195 | </listitem>
|
---|
| 196 | </itemizedlist>
|
---|
[daaee0be] | 197 | </listitem>
|
---|
| 198 | </itemizedlist>
|
---|
| 199 | </listitem>
|
---|
| 200 | </itemizedlist>
|
---|
[9ee1058] | 201 | </listitem>
|
---|
| 202 | </itemizedlist>
|
---|
| 203 | </listitem>
|
---|
[402f23d3] | 204 | </itemizedlist> -->
|
---|
[10a2ee5] | 205 |
|
---|
[231e47d7] | 206 | <!-- LWP -->
|
---|
| 207 | <bridgehead renderas="sect3" id="perl-lwp"
|
---|
[7eee225] | 208 | xreflabel="libwww-perl-&LWP-version;">
|
---|
| 209 | libwww-perl-&LWP-version; (a.k.a. LWP)</bridgehead>
|
---|
[10a2ee5] | 210 |
|
---|
[231e47d7] | 211 | <indexterm zone="perl-modules perl-lwp">
|
---|
[254592b] | 212 | <primary sortas="a-libwww-perl">libwww-perl</primary>
|
---|
[10a2ee5] | 213 | </indexterm>
|
---|
| 214 |
|
---|
[7eee225] | 215 | <para>The libwww-perl (LWP) collection is a set of
|
---|
[daaee0be] | 216 | <application>Perl</application> modules which provide a simple and
|
---|
[231e47d7] | 217 | consistent application programming interface to the World-Wide Web. The
|
---|
| 218 | main focus of the library is to provide classes and functions that allow
|
---|
| 219 | you to write WWW clients. The library also contains modules that are of
|
---|
| 220 | more general use and even classes that help you implement simple HTTP
|
---|
[8e2f6669] | 221 | servers. The LWP collection and all its dependency modules use the standard
|
---|
| 222 | <xref linkend="perl-standard-install"/>. The dependencies should be
|
---|
| 223 | installed in the order listed below. Ensure you install the dependency
|
---|
| 224 | chain for each module before installing the modules.</para>
|
---|
[10a2ee5] | 225 |
|
---|
[066dad5a] | 226 | &lfs75_checked;
|
---|
[fa762ae4] | 227 |
|
---|
[8e2f6669] | 228 | <itemizedlist>
|
---|
[1fb54051] | 229 | <listitem><literallayout><ulink url="http://cpan.org/authors/id/G/GA/GAAS/libwww-perl-&LWP-version;.tar.gz">libwww-perl-&LWP-version;</ulink>
|
---|
| 230 | http://cpan.org/authors/id/G/GA/GAAS/libwww-perl-&LWP-version;.tar.gz
|
---|
| 231 | MD5 sum: 637d5f1eb61336ca2caa6e026b382f87) </literallayout>
|
---|
[9ee1058] | 232 | <itemizedlist>
|
---|
[1fb54051] | 233 | <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/Encode-Locale/">Encode::Locale</ulink>
|
---|
| 234 | (http://search.cpan.org/~gaas/Encode-Locale/) </literallayout>
|
---|
[9ee1058] | 235 | </listitem>
|
---|
[1fb54051] | 236 | <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/HTML-Form/">HTML::Form</ulink>
|
---|
| 237 | (http://search.cpan.org/~gaas/HTML-Form/)
|
---|
| 238 |
|
---|
| 239 | </literallayout>
|
---|
[10a2ee5] | 240 | <itemizedlist>
|
---|
| 241 | <listitem>
|
---|
[8e2f6669] | 242 | <para>
|
---|
| 243 | <xref linkend="perl-uri"/>
|
---|
| 244 | </para>
|
---|
[10a2ee5] | 245 | </listitem>
|
---|
[aa6045e] | 246 | <listitem>
|
---|
[8e2f6669] | 247 | <para>
|
---|
| 248 | <xref linkend="perl-html-parser"/>
|
---|
| 249 | </para>
|
---|
| 250 | </listitem>
|
---|
[1fb54051] | 251 | <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/HTTP-Message/">HTTP::Message</ulink>
|
---|
| 252 | (http://search.cpan.org/~gaas/HTTP-Message/)
|
---|
| 253 |
|
---|
| 254 | </literallayout>
|
---|
| 255 | <itemizedlist> <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/HTTP-Date/">HTTP::Date</ulink>
|
---|
| 256 | (http://search.cpan.org/~gaas/HTTP-Date/) </literallayout>
|
---|
[8e2f6669] | 257 | </listitem>
|
---|
[1fb54051] | 258 | <listitem> <literallayout> <ulink url="http://search.cpan.org/~cjm/IO-HTML/">IO::HTML</ulink>
|
---|
| 259 | (http://search.cpan.org/~cjm/IO-HTML/) </literallayout>
|
---|
[8e2f6669] | 260 | </listitem>
|
---|
[1fb54051] | 261 | <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/LWP-MediaTypes/">LWP::MediaTypes</ulink>
|
---|
| 262 | (http://search.cpan.org/~gaas/LWP-MediaTypes/") </literallayout>
|
---|
[8e2f6669] | 263 | </listitem>
|
---|
| 264 | </itemizedlist>
|
---|
[aa6045e] | 265 | </listitem>
|
---|
[10a2ee5] | 266 | </itemizedlist>
|
---|
[8e2f6669] | 267 | </listitem>
|
---|
[1fb54051] | 268 | <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/HTTP-Cookies/">HTTP::Cookies</ulink>
|
---|
| 269 | (http://search.cpan.org/~gaas/HTTP-Cookies/)</literallayout>
|
---|
[8e2f6669] | 270 | </listitem>
|
---|
[1fb54051] | 271 | <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/HTTP-Negotiate/">HTTP::Negotiate</ulink>
|
---|
| 272 | (http://search.cpan.org/~gaas/HTTP-Negotiate/) </literallayout>
|
---|
[8e2f6669] | 273 | </listitem>
|
---|
[1fb54051] | 274 | <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/Net-HTTP/">Net::HTTP</ulink>
|
---|
| 275 | (http://search.cpan.org/~gaas/Net-HTTP/)</literallayout>
|
---|
[8e2f6669] | 276 | </listitem>
|
---|
[1fb54051] | 277 | <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/WWW-RobotRules/">WWW::RobotRules</ulink>
|
---|
| 278 | (http://search.cpan.org/~gaas/WWW-RobotRules/)</literallayout>
|
---|
| 279 | </listitem>
|
---|
| 280 | <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/HTTP-Daemon/">HTTP::Daemon</ulink>
|
---|
| 281 | (http://search.cpan.org/~gaas/HTTP-Daemon/)</literallayout>
|
---|
[8e2f6669] | 282 | </listitem>
|
---|
[1fb54051] | 283 | <listitem><literallayout><ulink url="http://search.cpan.org/~gaas/File-Listing/">File::Listing</ulink>
|
---|
| 284 | (http://search.cpan.org/~gaas/File-Listing/)</literallayout>
|
---|
[9ee1058] | 285 | </listitem>
|
---|
| 286 | </itemizedlist>
|
---|
[8e2f6669] | 287 | </listitem>
|
---|
| 288 | </itemizedlist>
|
---|
| 289 |
|
---|
[539c8fd] | 290 | <para>After the LWP installation, if you want HTTPS protocol support,
|
---|
| 291 | install the following (application and modules):</para>
|
---|
[10a2ee5] | 292 |
|
---|
[8e2f6669] | 293 | <itemizedlist>
|
---|
| 294 | <listitem>
|
---|
| 295 | <para>
|
---|
| 296 | <xref linkend="openssl"/>
|
---|
| 297 | </para>
|
---|
| 298 | </listitem>
|
---|
[1fb54051] | 299 | <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/LWP-Protocol-https/">LWP::Protocol::https</ulink>
|
---|
| 300 | (http://search.cpan.org/~gaas/LWP-Protocol-https/) </literallayout>
|
---|
[8e2f6669] | 301 | <itemizedlist>
|
---|
[1fb54051] | 302 | <listitem> <literallayout><ulink url="http://search.cpan.org/~behroozi/IO-Socket-SSL/">IO::Socket::SSL</ulink>
|
---|
| 303 | (http://search.cpan.org/~behroozi/IO-Socket-SSL/)
|
---|
| 304 |
|
---|
| 305 | </literallayout>
|
---|
[8e2f6669] | 306 | <itemizedlist>
|
---|
[1fb54051] | 307 | <listitem> <literallayout><ulink url="http://search.cpan.org/dist/Net-SSLeay/">Net::SSLeay</ulink>
|
---|
| 308 | (http://search.cpan.org/dist/Net-SSLeay/)</literallayout>
|
---|
[8e2f6669] | 309 | </listitem>
|
---|
| 310 | </itemizedlist>
|
---|
| 311 | </listitem>
|
---|
[1fb54051] | 312 | <listitem> <literallayout><ulink url="http://search.cpan.org/~abh/Mozilla-CA/">Mozilla::CA</ulink>
|
---|
| 313 | (http://search.cpan.org/~abh/Mozilla-CA/) </literallayout>
|
---|
[8e2f6669] | 314 | </listitem>
|
---|
| 315 | </itemizedlist>
|
---|
[9ee1058] | 316 | </listitem>
|
---|
[10a2ee5] | 317 | </itemizedlist>
|
---|
| 318 |
|
---|
[8e2f6669] | 319 |
|
---|
[a6af3ab9] | 320 | <!-- Module::Info
|
---|
[231e47d7] | 321 | <bridgehead renderas="sect3" id="perl-module-info"
|
---|
| 322 | xreflabel="Module::Info-&Module-Info-version;">
|
---|
| 323 | Module::Info-&Module-Info-version;</bridgehead>
|
---|
| 324 |
|
---|
| 325 | <indexterm zone="perl-modules perl-module-info">
|
---|
[254592b] | 326 | <primary sortas="a-Module-Info">Module::Info</primary>
|
---|
[b61a7a16] | 327 | </indexterm>
|
---|
| 328 |
|
---|
[231e47d7] | 329 | <para>The Module::Info module is quite useful for tasks other than just
|
---|
| 330 | support of other modules. It can be used from the command-line to tell you
|
---|
| 331 | if a particular module is included in, or has been installed into your
|
---|
| 332 | <application>Perl</application> installation. Additionally, Module::Info
|
---|
| 333 | can tell you what version of a module is installed and what dependencies
|
---|
| 334 | are required for it. You can even use Module::Info to gather dependencies
|
---|
[aa6045e] | 335 | of uninstalled modules. The Module::Info module and dependencies install
|
---|
| 336 | using the standard <application>Perl</application> module
|
---|
| 337 | <xref linkend="perl-standard-install"/>.</para>
|
---|
[231e47d7] | 338 |
|
---|
[8e2f6669] | 339 | <itemizedlist>
|
---|
[231e47d7] | 340 | <listitem>
|
---|
[8e2f6669] | 341 | <para>
|
---|
| 342 | <ulink url="http://www.cpan.org/authors/id/M/MB/MBARBON/Module-Info-&Module-Info-version;.tar.gz">
|
---|
| 343 | Module-Info-&Module-Info-version;</ulink>
|
---|
| 344 | </para>
|
---|
[231e47d7] | 345 | </listitem>
|
---|
| 346 | </itemizedlist>
|
---|
[a6af3ab9] | 347 | -->
|
---|
[17bcb81] | 348 |
|
---|
[a6af3ab9] | 349 | <!-- Module::Signature
|
---|
[9f765338] | 350 | <bridgehead renderas="sect3" id="perl-module-signature"
|
---|
| 351 | xreflabel="Module::Signature-&Module-Signature-version;">
|
---|
| 352 | Module::Signature-&Module-Signature-version;</bridgehead>
|
---|
| 353 |
|
---|
| 354 | <indexterm zone="perl-modules perl-module-signature">
|
---|
[254592b] | 355 | <primary sortas="a-Module-Signature">Module::Signature</primary>
|
---|
[9f765338] | 356 | </indexterm>
|
---|
| 357 |
|
---|
| 358 | <para>The Module::Signature module is used to check and create
|
---|
| 359 | <filename>SIGNATURE</filename> files for CPAN distributions. After
|
---|
| 360 | installing Module::Signature you can verify the content of a distribution
|
---|
| 361 | tarball (if it includes a <filename>SIGNATURE</filename> file) by unpacking
|
---|
| 362 | the tarball, changing into the newly created directory and issuing the
|
---|
| 363 | command <command>cpansign -v</command>. It will check each file's
|
---|
[daaee0be] | 364 | integrity, as well as the signature's validity. Note that some of the
|
---|
| 365 | dependencies appear to be circular, however, they are only run-time
|
---|
| 366 | conflicts and you should be able to fully utilize them as long as
|
---|
[6473e74] | 367 | everything is installed. Module::Signature and the dependency modules are
|
---|
[daaee0be] | 368 | installed using the standard <application>Perl</application>
|
---|
| 369 | module <xref linkend="perl-standard-install"/>.</para>
|
---|
[9f765338] | 370 |
|
---|
[8e2f6669] | 371 | <itemizedlist>
|
---|
[9f765338] | 372 | <listitem>
|
---|
[8e2f6669] | 373 | <para>
|
---|
| 374 | <ulink url="http://cpan.org/authors/id/A/AU/AUDREYT/Module-Signature-&Module-Signature-version;.tar.gz">
|
---|
| 375 | Module-Signature-&Module-Signature-version;</ulink>
|
---|
| 376 | </para>
|
---|
[9f765338] | 377 | <itemizedlist>
|
---|
| 378 | <listitem>
|
---|
[8e2f6669] | 379 | <para>
|
---|
| 380 | <xref linkend="perl-text-diff"/>
|
---|
| 381 | </para>
|
---|
[9f765338] | 382 | </listitem>
|
---|
| 383 | <listitem>
|
---|
[8e2f6669] | 384 | <para>
|
---|
| 385 | <ulink url="http://cpan.org/authors/id/S/SM/SMUELLER/PAR-Dist-&PAR-Dist-version;.tar.gz">
|
---|
| 386 | PAR-Dist-&PAR-Dist-version;</ulink>
|
---|
| 387 | </para>
|
---|
[dbb5a07] | 388 | <itemizedlist>
|
---|
| 389 | <listitem>
|
---|
[8e2f6669] | 390 | <para>
|
---|
| 391 | <xref linkend="perl-archive-zip"/>
|
---|
| 392 | </para>
|
---|
[dbb5a07] | 393 | </listitem>
|
---|
| 394 | <listitem>
|
---|
[8e2f6669] | 395 | <para>
|
---|
| 396 | <xref linkend="perl-lwp"/>
|
---|
| 397 | </para>
|
---|
[dbb5a07] | 398 | </listitem>
|
---|
| 399 | <listitem>
|
---|
[8e2f6669] | 400 | <para>
|
---|
| 401 | <xref linkend="perl-module-signature"/>
|
---|
| 402 | </para>
|
---|
[dbb5a07] | 403 | </listitem>
|
---|
| 404 | </itemizedlist>
|
---|
| 405 | </listitem>
|
---|
[9f765338] | 406 | <listitem>
|
---|
[8e2f6669] | 407 | <para>
|
---|
| 408 | <xref linkend="gnupg"/>
|
---|
| 409 | </para>
|
---|
[9f765338] | 410 | </listitem>
|
---|
| 411 | </itemizedlist>
|
---|
| 412 | </listitem>
|
---|
| 413 | </itemizedlist>
|
---|
[a6af3ab9] | 414 | -->
|
---|
[9f765338] | 415 |
|
---|
[231e47d7] | 416 | <!-- Net::DNS -->
|
---|
| 417 | <bridgehead renderas="sect3" id="perl-net-dns"
|
---|
[a6af3ab9] | 418 | xreflabel="Net::DNS-&Net-DNS-version;">
|
---|
[231e47d7] | 419 | Net::DNS-&Net-DNS-version;</bridgehead>
|
---|
| 420 |
|
---|
| 421 | <indexterm zone="perl-modules perl-net-dns">
|
---|
[254592b] | 422 | <primary sortas="a-Net-DNS">Net::DNS</primary>
|
---|
[231e47d7] | 423 | </indexterm>
|
---|
| 424 |
|
---|
| 425 | <para>Net::DNS is a DNS resolver implemented in
|
---|
| 426 | <application>Perl</application>. It can be used to perform nearly any type
|
---|
| 427 | of DNS query from a <application>Perl</application> script. The Net::DNS
|
---|
[daaee0be] | 428 | module and all its dependencies are installed using the standard
|
---|
[b61a7a16] | 429 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 430 |
|
---|
[066dad5a] | 431 | &lfs75_checked;
|
---|
[254592b] | 432 |
|
---|
[8e2f6669] | 433 | <itemizedlist>
|
---|
[1fb54051] | 434 | <listitem> <literallayout><ulink url="http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-&Net-DNS-version;.tar.gz">Net::DNS-&Net-DNS-version;</ulink>
|
---|
| 435 | http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-&Net-DNS-version;.tar.gz
|
---|
| 436 | MD5 sum: 36f97304a2073cc97b365e2cb06cd0a1
|
---|
| 437 |
|
---|
| 438 | </literallayout>
|
---|
[b61a7a16] | 439 | <itemizedlist>
|
---|
[1fb54051] | 440 | <listitem> <literallayout><ulink url="http://search.cpan.org/~gaas/Digest-HMAC/">Digest::HMAC</ulink>
|
---|
| 441 | (http://search.cpan.org/~gaas/Digest-HMAC/) </literallayout>
|
---|
[b61a7a16] | 442 | </listitem>
|
---|
[1fb54051] | 443 | <listitem> <literallayout><ulink url="http://search.cpan.org/~gbarr/IO/lib/IO/Socket/INET.pm">IO::Socket::INET</ulink>
|
---|
| 444 | (http://search.cpan.org/~gbarr/IO/lib/IO/Socket/INET.pm) (required for IPv6 support)
|
---|
| 445 |
|
---|
| 446 | </literallayout>
|
---|
[231e47d7] | 447 | <itemizedlist>
|
---|
[1fb54051] | 448 | <listitem> <literallayout><ulink url="http://search.cpan.org/~umemoto/Socket6/">Socket6</ulink>
|
---|
| 449 | (http://search.cpan.org/~umemoto/Socket6/)</literallayout>
|
---|
[231e47d7] | 450 | </listitem>
|
---|
| 451 | </itemizedlist>
|
---|
[89c59ab] | 452 | </listitem>
|
---|
[b61a7a16] | 453 | </itemizedlist>
|
---|
| 454 | </listitem>
|
---|
| 455 | </itemizedlist>
|
---|
[17bcb81] | 456 |
|
---|
[d9afe96] | 457 | <!-- SGMLSpm -->
|
---|
| 458 | <bridgehead renderas="sect3" id="perl-sgmlspm"
|
---|
| 459 | xreflabel="SGMLSpm-&SGMLSpm-version;">
|
---|
| 460 | SGMLSpm-&SGMLSpm-version;</bridgehead>
|
---|
| 461 |
|
---|
| 462 | <indexterm zone="perl-modules perl-sgmlspm">
|
---|
[254592b] | 463 | <primary sortas="a-SGMLSpm">SGMLSpm</primary>
|
---|
[d9afe96] | 464 | </indexterm>
|
---|
| 465 |
|
---|
| 466 | <para>The SGMLSpm module is a <application>Perl</application> library
|
---|
[755e97c] | 467 | used for parsing the output from James Clark's SGMLS and NSGMLS
|
---|
| 468 | parsers. This modules uses the standard
|
---|
[254592b] | 469 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 470 |
|
---|
[9faa3b74] | 471 | &lfs75_checked;
|
---|
[254592b] | 472 |
|
---|
| 473 | <para> Before beginning the build, issue
|
---|
[755e97c] | 474 | the following command to prevent an error:</para>
|
---|
[b3aacc0] | 475 |
|
---|
| 476 | <screen><userinput>chmod -v 644 MYMETA.yml</userinput></screen>
|
---|
[daaee0be] | 477 |
|
---|
[755e97c] | 478 | <para>
|
---|
| 479 | After installed, as the <systemitem class="username">root</systemitem>
|
---|
| 480 | user:
|
---|
| 481 | </para>
|
---|
| 482 |
|
---|
| 483 | <screen role="root"><userinput>ln -sv sgmlspl.pl /usr/bin/sgmlspl</userinput></screen>
|
---|
| 484 |
|
---|
[8e2f6669] | 485 | <itemizedlist>
|
---|
[cd7cf72] | 486 | <listitem> <literallayout><ulink url="http://anduin.&lfs-domainname;/sources/BLFS/conglomeration/perl-modules/SGMLSpm-&SGMLSpm-version;.tar.gz">SGMLSpm-&SGMLSpm-version;</ulink>
|
---|
| 487 | http://anduin.&lfs-domainname;/sources/BLFS/conglomeration/perl-modules/SGMLSpm-&SGMLSpm-version;.tar.gz
|
---|
[1fb54051] | 488 | MD5 sum: 746c74ae969992cedb1a2879b4168090 </literallayout>
|
---|
[cd7cf72] | 489 | <!--http://search.cpan.org/CPAN/authors/id/R/RA/RAAB/SGMLSpm-&SGMLSpm-version;.tar.gz -->
|
---|
[daaee0be] | 490 | </listitem>
|
---|
| 491 | </itemizedlist>
|
---|
| 492 |
|
---|
[a6af3ab9] | 493 | <!-- Text::Diff
|
---|
[8191bd1] | 494 | <bridgehead renderas="sect3" id="perl-text-diff"
|
---|
| 495 | xreflabel="Text::Diff-&Text-Diff-version;">
|
---|
| 496 | Text::Diff-&Text-Diff-version;</bridgehead>
|
---|
| 497 |
|
---|
| 498 | <indexterm zone="perl-modules perl-text-diff">
|
---|
[254592b] | 499 | <primary sortas="a-Text-Diff">Text::Diff</primary>
|
---|
[8191bd1] | 500 | </indexterm>
|
---|
| 501 |
|
---|
| 502 | <para>Text::Diff is used to perform diffs on files and record sets. It
|
---|
| 503 | provides a basic set of services akin to the GNU <command>diff</command>
|
---|
| 504 | utility. It is not anywhere near as feature complete as GNU
|
---|
| 505 | <command>diff</command>, but it is better integrated with
|
---|
| 506 | <application>Perl</application> and available on all platforms. Text::Diff
|
---|
| 507 | is often faster than shelling out to a system's <command>diff</command>
|
---|
[daaee0be] | 508 | executable for small files, and generally slower on larger files. The
|
---|
| 509 | modules listed below are installed using the standard
|
---|
| 510 | <application>Perl</application> module
|
---|
| 511 | <xref linkend="perl-standard-install"/>.</para>
|
---|
[8191bd1] | 512 |
|
---|
[8e2f6669] | 513 | <itemizedlist>
|
---|
[8191bd1] | 514 | <listitem>
|
---|
[8e2f6669] | 515 | <para>
|
---|
| 516 | <ulink url="http://cpan.org/authors/id/R/RB/RBS/Text-Diff-&Text-Diff-version;.tar.gz">
|
---|
| 517 | Text-Diff-&Text-Diff-version;</ulink></para>
|
---|
[8191bd1] | 518 | <itemizedlist>
|
---|
| 519 | <listitem>
|
---|
[8e2f6669] | 520 | <para>
|
---|
| 521 | <ulink url="http://cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-&Algorithm-Diff-version;.tar.gz">
|
---|
| 522 | Algorithm-Diff-&Algorithm-Diff-version;</ulink></para>
|
---|
[8191bd1] | 523 | </listitem>
|
---|
| 524 | </itemizedlist>
|
---|
| 525 | </listitem>
|
---|
| 526 | </itemizedlist>
|
---|
[a6af3ab9] | 527 | -->
|
---|
[8191bd1] | 528 |
|
---|
[a6af3ab9] | 529 | <!-- Tk
|
---|
[b9c594f0] | 530 | <bridgehead renderas="sect3" id="tk-perl"
|
---|
| 531 | xreflabel="Tk-Perl-&Tk-Perl-version;">
|
---|
| 532 | Tk-&Tk-Perl-version;</bridgehead>
|
---|
[231e47d7] | 533 |
|
---|
[b9c594f0] | 534 | <indexterm zone="perl-modules tk-perl">
|
---|
[254592b] | 535 | <primary sortas="a-Tk">Tk</primary>
|
---|
[231e47d7] | 536 | </indexterm>
|
---|
| 537 |
|
---|
[d9afe96] | 538 | <para>The <application>Tk</application> module is a
|
---|
| 539 | <application>Perl</application> interface to the
|
---|
| 540 | <application>Tk</application> package. The goal of this release is Unicode
|
---|
| 541 | support via <application>Perl</application>'s and
|
---|
[b9c594f0] | 542 | core-<application>Tk</application>'s use of UTF-8. Tk-&Tk-Perl-version;
|
---|
[d9afe96] | 543 | builds and loads into a threaded <application>Perl</application> but is NOT
|
---|
[daaee0be] | 544 | yet thread safe. The module is installed using the standard
|
---|
| 545 | <application>Perl</application> module
|
---|
[231e47d7] | 546 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 547 |
|
---|
[8e2f6669] | 548 | <itemizedlist>
|
---|
[231e47d7] | 549 | <listitem>
|
---|
[8e2f6669] | 550 | <para>
|
---|
| 551 | <ulink url="http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-&Tk-Perl-version;.tar.gz">
|
---|
| 552 | Tk-&Tk-Perl-version;</ulink></para>
|
---|
[231e47d7] | 553 | <itemizedlist>
|
---|
| 554 | <listitem>
|
---|
[8e2f6669] | 555 | <para>
|
---|
| 556 | <xref linkend="tk"/> and <xref linkend="libjpeg"/>
|
---|
| 557 | </para>
|
---|
[231e47d7] | 558 | </listitem>
|
---|
| 559 | </itemizedlist>
|
---|
| 560 | </listitem>
|
---|
| 561 | </itemizedlist>
|
---|
[a6af3ab9] | 562 | -->
|
---|
[17bcb81] | 563 |
|
---|
| 564 | <!-- URI -->
|
---|
[41b9f22] | 565 | <bridgehead renderas="sect3" id="perl-uri"
|
---|
| 566 | xreflabel="URI-&URI-version;">
|
---|
| 567 | URI-&URI-version;</bridgehead>
|
---|
| 568 |
|
---|
| 569 | <indexterm zone="perl-modules perl-uri">
|
---|
[254592b] | 570 | <primary sortas="a-URI">URI</primary>
|
---|
[41b9f22] | 571 | </indexterm>
|
---|
| 572 |
|
---|
[17bcb81] | 573 | <para>
|
---|
| 574 | This module implements the URI class. Objects of this class represent
|
---|
| 575 | "Uniform Resource Identifier references" as specified in RFC 2396 (and
|
---|
| 576 | updated by RFC 2732). A Uniform Resource Identifier is a compact string of
|
---|
| 577 | characters that identifies an abstract or physical resource. A Uniform
|
---|
| 578 | Resource Identifier can be further classified as either a Uniform Resource
|
---|
| 579 | Locator (URL) or a Uniform Resource Name (URN). The distinction between
|
---|
| 580 | URL and URN does not matter to the URI class interface. A "URI-reference"
|
---|
| 581 | is a URI that may have additional information attached in the form of a
|
---|
[b3aacc0] | 582 | fragment identifier. This module uses the standard
|
---|
| 583 | <xref linkend="perl-standard-install"/>.
|
---|
[17bcb81] | 584 | </para>
|
---|
[41b9f22] | 585 |
|
---|
[9faa3b74] | 586 | &lfs75_checked;
|
---|
[254592b] | 587 |
|
---|
[8e2f6669] | 588 | <itemizedlist>
|
---|
[1fb54051] | 589 | <listitem> <literallayout><ulink url="http://www.cpan.org/authors/id/G/GA/GAAS/URI-&URI-version;.tar.gz">URI-&URI-version;</ulink>
|
---|
| 590 | http://www.cpan.org/authors/id/G/GA/GAAS/URI-&URI-version;.tar.gz
|
---|
| 591 | MD5 sum: 70f739be8ce28b8baba7c5920ffee4dc </literallayout>
|
---|
[41b9f22] | 592 | </listitem>
|
---|
| 593 | </itemizedlist>
|
---|
[17bcb81] | 594 |
|
---|
[d9afe96] | 595 | <!-- XML::Parser -->
|
---|
[c1968e6] | 596 | <!-- <bridgehead renderas="sect3" id="perl-xml-parser"
|
---|
[d9afe96] | 597 | xreflabel="XML::Parser-&XML-Parser-version;">
|
---|
| 598 | XML::Parser-&XML-Parser-version;</bridgehead>
|
---|
[231e47d7] | 599 |
|
---|
[d9afe96] | 600 | <indexterm zone="perl-modules perl-xml-parser">
|
---|
[254592b] | 601 | <primary sortas="a-XML-Parser">XML::Parser</primary>
|
---|
[231e47d7] | 602 | </indexterm>
|
---|
| 603 |
|
---|
[d9afe96] | 604 | <para>The XML::Parser module is a <application>Perl</application> extension
|
---|
| 605 | interface to James Clark's XML parser,
|
---|
[b3aacc0] | 606 | <application>expat</application>. The module uses the standard
|
---|
[231e47d7] | 607 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 608 |
|
---|
[b5404468] | 609 | &lfs75_checked;
|
---|
[254592b] | 610 |
|
---|
[8e2f6669] | 611 | <itemizedlist>
|
---|
[1fb54051] | 612 | <listitem> <literallayout><ulink url="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-&XML-Parser-version;.tar.gz">XML::Parser-&XML-Parser-version;</ulink>
|
---|
| 613 | http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-&XML-Parser-version;.tar.gz
|
---|
| 614 | MD5 sum: c320d2ffa459e6cdc6f9f59c1185855e) </literallayout>
|
---|
[231e47d7] | 615 | <itemizedlist>
|
---|
[c1968e6] | 616 | <!-<listitem>
|
---|
[8e2f6669] | 617 | <para>
|
---|
| 618 | <xref linkend="expat"/>
|
---|
| 619 | </para>
|
---|
[c1968e6] | 620 | </listitem> ->
|
---|
[c6405d8] | 621 | <listitem>
|
---|
[8e2f6669] | 622 | <para>
|
---|
[831caa1f] | 623 | <xref linkend="perl-lwp"/> (optionally used in the test suite)
|
---|
[8e2f6669] | 624 | </para>
|
---|
[c6405d8] | 625 | </listitem>
|
---|
| 626 | </itemizedlist>
|
---|
[895dad28] | 627 |
|
---|
| 628 | </listitem>
|
---|
[c1968e6] | 629 | </itemizedlist>-->
|
---|
[5a14a19] | 630 |
|
---|
[c1c5ff55] | 631 | <!-- XML::Simple -->
|
---|
| 632 | <bridgehead renderas="sect3" id="perl-xml-simple"
|
---|
| 633 | xreflabel="XML::Simple-&XML-Simple-version;">
|
---|
| 634 | XML::Simple-&XML-Simple-version;</bridgehead>
|
---|
| 635 |
|
---|
| 636 | <indexterm zone="perl-modules perl-xml-simple">
|
---|
[254592b] | 637 | <primary sortas="a-XML-Simple">XML::Simple</primary>
|
---|
[c1c5ff55] | 638 | </indexterm>
|
---|
| 639 |
|
---|
| 640 | <para>The XML::Simple module is a <application>Perl</application> extension
|
---|
| 641 | that provides an easy API to read and write XML (especially config files).
|
---|
[8e2f6669] | 642 | This module and all dependency modules use the standard
|
---|
[c1c5ff55] | 643 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 644 |
|
---|
[1c4f3b1f] | 645 | &lfs75_checked;
|
---|
[254592b] | 646 |
|
---|
[8e2f6669] | 647 | <itemizedlist>
|
---|
[1fb54051] | 648 | <listitem> <literallayout><ulink url="http://cpan.org/authors/id/G/GR/GRANTM/XML-Simple-&XML-Simple-version;.tar.gz">XML::Simple-&XML-Simple-version;</ulink>
|
---|
| 649 | http://cpan.org/authors/id/G/GR/GRANTM/XML-Simple-&XML-Simple-version;.tar.gz
|
---|
| 650 | MD5 sum: 4d10964e123b76eca36678464daa63cd </literallayout>
|
---|
[c1c5ff55] | 651 | <itemizedlist>
|
---|
[1fb54051] | 652 | <listitem> <literallayout><ulink url="http://search.cpan.org/~grantm/XML-SAX/">XML::SAX</ulink>
|
---|
| 653 | (http://search.cpan.org/~grantm/XML-SAX/)
|
---|
| 654 | (Note: this package does not support parallel build)
|
---|
| 655 |
|
---|
| 656 | </literallayout>
|
---|
[c1c5ff55] | 657 | <itemizedlist>
|
---|
[1fb54051] | 658 | <listitem> <literallayout><ulink url="http://search.cpan.org/~perigrin/XML-NamespaceSupport/">XML::NamespaceSupport</ulink>
|
---|
| 659 | (http://search.cpan.org/~perigrin/XML-NamespaceSupport/) </literallayout>
|
---|
[2614cd5] | 660 | </listitem>
|
---|
[1fb54051] | 661 | <listitem> <literallayout><ulink url="http://search.cpan.org/~grantm/XML-SAX-Base/">XML::SAX::Base</ulink>
|
---|
| 662 | (http://search.cpan.org/~grantm/XML-SAX-Base/) </literallayout>
|
---|
[c1c5ff55] | 663 | </listitem>
|
---|
[831caa1f] | 664 | </itemizedlist>
|
---|
| 665 | </listitem>
|
---|
[1fb54051] | 666 | <listitem> <literallayout><ulink url="http://search.cpan.org/~bjoern/XML-SAX-Expat/">XML::SAX::Expat</ulink>
|
---|
| 667 | (http://search.cpan.org/~bjoern/XML-SAX-Expat/)
|
---|
| 668 | (Note: this package does not support parallel build)
|
---|
| 669 |
|
---|
| 670 | </literallayout>
|
---|
[c1968e6] | 671 | <!-- <itemizedlist>
|
---|
[c1c5ff55] | 672 | <listitem>
|
---|
[8e2f6669] | 673 | <para>
|
---|
[2614cd5] | 674 | <xref linkend="perl-xml-parser"/>
|
---|
[8e2f6669] | 675 | </para>
|
---|
[c1c5ff55] | 676 | </listitem>
|
---|
[c1968e6] | 677 | </itemizedlist>-->
|
---|
[c1c5ff55] | 678 | </listitem>
|
---|
[1fb54051] | 679 | <listitem> <literallayout id="perl-xml-libxml"><ulink url="http://search.cpan.org/~shlomif/XML-LibXML/">XML::LibXML</ulink>
|
---|
| 680 | (http://search.cpan.org/~shlomif/XML-LibXML/)
|
---|
| 681 | (recommended for faster parsing) </literallayout>
|
---|
[831caa1f] | 682 | </listitem>
|
---|
[1fb54051] | 683 | <listitem> <literallayout><ulink url="http://search.cpan.org/~chorny/Tie-IxHash/">Tie::IxHash</ulink>
|
---|
| 684 | (http://search.cpan.org/~chorny/Tie-IxHash/)
|
---|
| 685 | (optionally used in the test suite) </literallayout>
|
---|
[c1c5ff55] | 686 | </listitem>
|
---|
| 687 | </itemizedlist>
|
---|
| 688 | </listitem>
|
---|
| 689 | </itemizedlist>
|
---|
[17bcb81] | 690 |
|
---|
[a6af3ab9] | 691 | <!-- YAML
|
---|
[f2981ec8] | 692 | <bridgehead renderas="sect3" id="perl-yaml"
|
---|
| 693 | xreflabel="YAML-&YAML-version;">
|
---|
| 694 | YAML-&YAML-version;</bridgehead>
|
---|
| 695 |
|
---|
| 696 | <indexterm zone="perl-modules perl-yaml">
|
---|
[254592b] | 697 | <primary sortas="a-YAML">YAML</primary>
|
---|
[f2981ec8] | 698 | </indexterm>
|
---|
| 699 |
|
---|
[3202d0b] | 700 | <para>The <application>YAML</application> modules implement a
|
---|
| 701 | <application>YAML</application> Loader and Dumper based on the
|
---|
[29f80ebc] | 702 | <application>YAML</application> 1.0 specification
|
---|
[3202d0b] | 703 | <ulink url="http://www.yaml.org/spec/"/>.
|
---|
| 704 | <application>YAML</application> is a generic data serialization language
|
---|
| 705 | that is optimized for human readability. It can be used to express the data
|
---|
[aa6045e] | 706 | structures of most modern programming languages. The module and
|
---|
| 707 | dependencies are installed using the standard
|
---|
| 708 | <application>Perl</application> module
|
---|
| 709 | <xref linkend="perl-standard-install"/>.</para>
|
---|
[3202d0b] | 710 |
|
---|
| 711 | <note>
|
---|
| 712 | <para>The <application>YAML</application>,
|
---|
| 713 | <application>Test::Base</application> and
|
---|
| 714 | <application>Spiffy</application> modules will install UTF-8
|
---|
| 715 | encoded manual pages. To modify the manual pages so that non-UTF-8
|
---|
| 716 | encoded pages are installed, issue the following commands (before
|
---|
| 717 | any other build commands):</para>
|
---|
| 718 |
|
---|
| 719 | <screen><literal>For <application>Spiffy</application>: <command>sed -i 's,\xc3\xb6,o,' lib/Spiffy.pm</command>
|
---|
| 720 |
|
---|
| 721 | For <application>Test::Base</application>: <command>sed -i 's,\xc3\xb6,o,' \
|
---|
| 722 | lib/Test/Base{,/Filter}.pm \
|
---|
| 723 | lib/Module/Install/TestBase.pm</command>
|
---|
| 724 |
|
---|
| 725 | For <application>YAML</application>: <command>sed -i 's,\xc3\xb6,o,' \
|
---|
[c5fb8c3] | 726 | ysh \
|
---|
| 727 | lib{,/Test}/YAML.pm \
|
---|
[3202d0b] | 728 | lib/YAML/{Types,Node,Error,Marshall,Tag,Base}.pm \
|
---|
| 729 | lib/YAML/{Loader,Dumper}{,/Base}.pm</command></literal></screen>
|
---|
| 730 |
|
---|
| 731 | </note>
|
---|
[f2981ec8] | 732 |
|
---|
[8e2f6669] | 733 | <itemizedlist>
|
---|
[f2981ec8] | 734 | <listitem>
|
---|
[8e2f6669] | 735 | <para>
|
---|
| 736 | <ulink url="http://cpan.org/authors/id/I/IN/INGY/YAML-&YAML-version;.tar.gz">
|
---|
| 737 | YAML-&YAML-version;</ulink></para>
|
---|
[f2981ec8] | 738 | <itemizedlist>
|
---|
| 739 | <listitem>
|
---|
[8e2f6669] | 740 | <para>
|
---|
| 741 | <ulink url="http://cpan.org/authors/id/I/IN/INGY/Test-Base-&Test-Base-version;.tar.gz">
|
---|
| 742 | Test-Base-&Test-Base-version;</ulink>
|
---|
| 743 | (optionally used during the tests)
|
---|
| 744 | </para>
|
---|
| 745 | <itemizedlist>
|
---|
| 746 | <listitem>
|
---|
| 747 | <para
|
---|
| 748 | <ulink url="http://cpan.org/authors/id/I/IN/INGY/Spiffy-&Spiffy-version;.tar.gz">
|
---|
| 749 | Spiffy-&Spiffy-version;</ulink></para>
|
---|
| 750 | </listitem>
|
---|
| 751 | </itemizedlist>
|
---|
[ca29ea3] | 752 | </listitem>
|
---|
| 753 | <listitem>
|
---|
[8e2f6669] | 754 | <para>
|
---|
| 755 | <xref linkend="perl-text-diff"/>
|
---|
| 756 | (optionally used during the tests)
|
---|
| 757 | </para>
|
---|
[ca29ea3] | 758 | </listitem>
|
---|
[f2981ec8] | 759 | </itemizedlist>
|
---|
| 760 | </listitem>
|
---|
| 761 | </itemizedlist>
|
---|
[a6af3ab9] | 762 | -->
|
---|
[17bcb81] | 763 |
|
---|
[9ee1058] | 764 | </sect2>
|
---|
| 765 |
|
---|
[10a2ee5] | 766 | <sect2 role="installation" id="perl-standard-install"
|
---|
| 767 | xreflabel="build and installation instructions">
|
---|
| 768 | <title>Standard Installation of Perl Modules</title>
|
---|
[9ee1058] | 769 |
|
---|
[10a2ee5] | 770 | <para>Install <application>Perl</application> modules by running the
|
---|
| 771 | following commands:</para>
|
---|
[9ee1058] | 772 |
|
---|
| 773 | <screen><userinput>perl Makefile.PL &&
|
---|
[52d29f7] | 774 | make &&
|
---|
[9ee1058] | 775 | make test</userinput></screen>
|
---|
[7fc4452] | 776 |
|
---|
[9ee1058] | 777 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[7fc4452] | 778 |
|
---|
[9ee1058] | 779 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[62c964d] | 780 |
|
---|
[38c1e39] | 781 | <note>
|
---|
| 782 | <para>When reinstalling a <application>Perl</application> module,
|
---|
| 783 | sometimes older versions of the module being reinstalled are in other
|
---|
| 784 | directories specified in <parameter>@INC</parameter>. To delete all
|
---|
| 785 | other versions of the module being reinstalled (not simply older ones)
|
---|
| 786 | set the <varname>UNINST</varname> variable:</para>
|
---|
| 787 |
|
---|
[b14628ba] | 788 | <screen><userinput>make install UNINST=1</userinput></screen>
|
---|
[38c1e39] | 789 | </note>
|
---|
| 790 |
|
---|
[9ee1058] | 791 | </sect2>
|
---|
[bd23186f] | 792 |
|
---|
[3e4b0b2] | 793 | <sect2 role="installation" id="perl-auto-install"
|
---|
| 794 | xreflabel="alternate auto installation instructions">
|
---|
[9ee1058] | 795 | <title>(Alternate) Auto Installation of Perl Modules.</title>
|
---|
[62c964d] | 796 |
|
---|
[dbaa33d] | 797 | <para>There is an alternate way of installing the modules using the
|
---|
| 798 | <command>cpan</command> shell <command>install</command> command. The
|
---|
| 799 | command automatically downloads the source from the CPAN archive, extracts
|
---|
| 800 | it, runs the compilation, testing and installation commands mentioned
|
---|
| 801 | above, and removes the build source tree. You may still need to install
|
---|
| 802 | dependent library packages before running the automated installation
|
---|
| 803 | method.</para>
|
---|
| 804 |
|
---|
| 805 | <para>The first time you run <command>cpan</command>, you'll be prompted
|
---|
| 806 | to enter some information regarding download locations and methods. This
|
---|
| 807 | information is retained in files located in
|
---|
| 808 | <filename class='directory'>~/.cpan</filename>. Start the
|
---|
| 809 | <command>cpan</command> shell by issuing '<command>cpan</command>' as the
|
---|
| 810 | <systemitem class="username">root</systemitem> user. Any module may now be
|
---|
| 811 | installed from the
|
---|
| 812 | <emphasis role='underlined'><prompt>cpan> </prompt></emphasis>
|
---|
| 813 | prompt with the command:</para>
|
---|
[62c964d] | 814 |
|
---|
[1039de3] | 815 | <screen role="root"><userinput>install <replaceable><Module::Name></replaceable></userinput></screen>
|
---|
[62c964d] | 816 |
|
---|
[dbaa33d] | 817 | <para>For additional commands and help, issue '<command>help</command>'
|
---|
| 818 | from the
|
---|
| 819 | <emphasis role='underlined'><prompt>cpan> </prompt></emphasis>
|
---|
| 820 | prompt.</para>
|
---|
[3d60760] | 821 |
|
---|
[10a2ee5] | 822 | <para>Alternatively, for scripted or non-interactive installations, use the
|
---|
| 823 | following syntax as the
|
---|
[dbaa33d] | 824 | <systemitem class="username">root</systemitem> user to install one or more
|
---|
| 825 | modules:</para>
|
---|
| 826 |
|
---|
| 827 | <screen role="root"><userinput>cpan -i <replaceable><Module1::Name> <Module2::Name></replaceable></userinput></screen>
|
---|
[10a2ee5] | 828 |
|
---|
[dbaa33d] | 829 | <para>Review the <filename>cpan.1</filename> man page for additional
|
---|
| 830 | parameters you can pass to <command>cpan</command> on the command
|
---|
| 831 | line.</para>
|
---|
[10a2ee5] | 832 |
|
---|
[9ee1058] | 833 | </sect2>
|
---|
[3d60760] | 834 |
|
---|
[9ee1058] | 835 | </sect1>
|
---|