[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>
|
---|
[880b7ab] | 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
|
---|
[7251b1d] | 436 | MD5 sum: 219dada09d01b7233f82fd1c32ddad39
|
---|
[1fb54051] | 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>
|
---|
[f718b0f0] | 442 | </listitem>
|
---|
| 443 | <listitem> <literallayout><ulink url="http://search.cpan.org/~shlomif/IO-Socket-INET6-2.72/">IO::Socket::INET6</ulink>
|
---|
| 444 | (http://search.cpan.org/~shlomif/IO-Socket-INET6-2.72/) </literallayout>
|
---|
[b61a7a16] | 445 | </listitem>
|
---|
[1fb54051] | 446 | <listitem> <literallayout><ulink url="http://search.cpan.org/~gbarr/IO/lib/IO/Socket/INET.pm">IO::Socket::INET</ulink>
|
---|
| 447 | (http://search.cpan.org/~gbarr/IO/lib/IO/Socket/INET.pm) (required for IPv6 support)
|
---|
| 448 |
|
---|
| 449 | </literallayout>
|
---|
[231e47d7] | 450 | <itemizedlist>
|
---|
[1fb54051] | 451 | <listitem> <literallayout><ulink url="http://search.cpan.org/~umemoto/Socket6/">Socket6</ulink>
|
---|
| 452 | (http://search.cpan.org/~umemoto/Socket6/)</literallayout>
|
---|
[231e47d7] | 453 | </listitem>
|
---|
| 454 | </itemizedlist>
|
---|
[89c59ab] | 455 | </listitem>
|
---|
[b61a7a16] | 456 | </itemizedlist>
|
---|
| 457 | </listitem>
|
---|
| 458 | </itemizedlist>
|
---|
[17bcb81] | 459 |
|
---|
[d9afe96] | 460 | <!-- SGMLSpm -->
|
---|
| 461 | <bridgehead renderas="sect3" id="perl-sgmlspm"
|
---|
| 462 | xreflabel="SGMLSpm-&SGMLSpm-version;">
|
---|
| 463 | SGMLSpm-&SGMLSpm-version;</bridgehead>
|
---|
| 464 |
|
---|
| 465 | <indexterm zone="perl-modules perl-sgmlspm">
|
---|
[254592b] | 466 | <primary sortas="a-SGMLSpm">SGMLSpm</primary>
|
---|
[d9afe96] | 467 | </indexterm>
|
---|
| 468 |
|
---|
| 469 | <para>The SGMLSpm module is a <application>Perl</application> library
|
---|
[755e97c] | 470 | used for parsing the output from James Clark's SGMLS and NSGMLS
|
---|
| 471 | parsers. This modules uses the standard
|
---|
[254592b] | 472 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 473 |
|
---|
[9faa3b74] | 474 | &lfs75_checked;
|
---|
[254592b] | 475 |
|
---|
| 476 | <para> Before beginning the build, issue
|
---|
[755e97c] | 477 | the following command to prevent an error:</para>
|
---|
[b3aacc0] | 478 |
|
---|
| 479 | <screen><userinput>chmod -v 644 MYMETA.yml</userinput></screen>
|
---|
[daaee0be] | 480 |
|
---|
[755e97c] | 481 | <para>
|
---|
| 482 | After installed, as the <systemitem class="username">root</systemitem>
|
---|
| 483 | user:
|
---|
| 484 | </para>
|
---|
| 485 |
|
---|
| 486 | <screen role="root"><userinput>ln -sv sgmlspl.pl /usr/bin/sgmlspl</userinput></screen>
|
---|
| 487 |
|
---|
[8e2f6669] | 488 | <itemizedlist>
|
---|
[cd7cf72] | 489 | <listitem> <literallayout><ulink url="http://anduin.&lfs-domainname;/sources/BLFS/conglomeration/perl-modules/SGMLSpm-&SGMLSpm-version;.tar.gz">SGMLSpm-&SGMLSpm-version;</ulink>
|
---|
| 490 | http://anduin.&lfs-domainname;/sources/BLFS/conglomeration/perl-modules/SGMLSpm-&SGMLSpm-version;.tar.gz
|
---|
[1fb54051] | 491 | MD5 sum: 746c74ae969992cedb1a2879b4168090 </literallayout>
|
---|
[cd7cf72] | 492 | <!--http://search.cpan.org/CPAN/authors/id/R/RA/RAAB/SGMLSpm-&SGMLSpm-version;.tar.gz -->
|
---|
[daaee0be] | 493 | </listitem>
|
---|
| 494 | </itemizedlist>
|
---|
| 495 |
|
---|
[a6af3ab9] | 496 | <!-- Text::Diff
|
---|
[8191bd1] | 497 | <bridgehead renderas="sect3" id="perl-text-diff"
|
---|
| 498 | xreflabel="Text::Diff-&Text-Diff-version;">
|
---|
| 499 | Text::Diff-&Text-Diff-version;</bridgehead>
|
---|
| 500 |
|
---|
| 501 | <indexterm zone="perl-modules perl-text-diff">
|
---|
[254592b] | 502 | <primary sortas="a-Text-Diff">Text::Diff</primary>
|
---|
[8191bd1] | 503 | </indexterm>
|
---|
| 504 |
|
---|
| 505 | <para>Text::Diff is used to perform diffs on files and record sets. It
|
---|
| 506 | provides a basic set of services akin to the GNU <command>diff</command>
|
---|
| 507 | utility. It is not anywhere near as feature complete as GNU
|
---|
| 508 | <command>diff</command>, but it is better integrated with
|
---|
| 509 | <application>Perl</application> and available on all platforms. Text::Diff
|
---|
| 510 | is often faster than shelling out to a system's <command>diff</command>
|
---|
[daaee0be] | 511 | executable for small files, and generally slower on larger files. The
|
---|
| 512 | modules listed below are installed using the standard
|
---|
| 513 | <application>Perl</application> module
|
---|
| 514 | <xref linkend="perl-standard-install"/>.</para>
|
---|
[8191bd1] | 515 |
|
---|
[8e2f6669] | 516 | <itemizedlist>
|
---|
[8191bd1] | 517 | <listitem>
|
---|
[8e2f6669] | 518 | <para>
|
---|
| 519 | <ulink url="http://cpan.org/authors/id/R/RB/RBS/Text-Diff-&Text-Diff-version;.tar.gz">
|
---|
| 520 | Text-Diff-&Text-Diff-version;</ulink></para>
|
---|
[8191bd1] | 521 | <itemizedlist>
|
---|
| 522 | <listitem>
|
---|
[8e2f6669] | 523 | <para>
|
---|
| 524 | <ulink url="http://cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-&Algorithm-Diff-version;.tar.gz">
|
---|
| 525 | Algorithm-Diff-&Algorithm-Diff-version;</ulink></para>
|
---|
[8191bd1] | 526 | </listitem>
|
---|
| 527 | </itemizedlist>
|
---|
| 528 | </listitem>
|
---|
| 529 | </itemizedlist>
|
---|
[a6af3ab9] | 530 | -->
|
---|
[8191bd1] | 531 |
|
---|
[a6af3ab9] | 532 | <!-- Tk
|
---|
[b9c594f0] | 533 | <bridgehead renderas="sect3" id="tk-perl"
|
---|
| 534 | xreflabel="Tk-Perl-&Tk-Perl-version;">
|
---|
| 535 | Tk-&Tk-Perl-version;</bridgehead>
|
---|
[231e47d7] | 536 |
|
---|
[b9c594f0] | 537 | <indexterm zone="perl-modules tk-perl">
|
---|
[254592b] | 538 | <primary sortas="a-Tk">Tk</primary>
|
---|
[231e47d7] | 539 | </indexterm>
|
---|
| 540 |
|
---|
[d9afe96] | 541 | <para>The <application>Tk</application> module is a
|
---|
| 542 | <application>Perl</application> interface to the
|
---|
| 543 | <application>Tk</application> package. The goal of this release is Unicode
|
---|
| 544 | support via <application>Perl</application>'s and
|
---|
[b9c594f0] | 545 | core-<application>Tk</application>'s use of UTF-8. Tk-&Tk-Perl-version;
|
---|
[d9afe96] | 546 | builds and loads into a threaded <application>Perl</application> but is NOT
|
---|
[daaee0be] | 547 | yet thread safe. The module is installed using the standard
|
---|
| 548 | <application>Perl</application> module
|
---|
[231e47d7] | 549 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 550 |
|
---|
[8e2f6669] | 551 | <itemizedlist>
|
---|
[231e47d7] | 552 | <listitem>
|
---|
[8e2f6669] | 553 | <para>
|
---|
| 554 | <ulink url="http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-&Tk-Perl-version;.tar.gz">
|
---|
| 555 | Tk-&Tk-Perl-version;</ulink></para>
|
---|
[231e47d7] | 556 | <itemizedlist>
|
---|
| 557 | <listitem>
|
---|
[8e2f6669] | 558 | <para>
|
---|
| 559 | <xref linkend="tk"/> and <xref linkend="libjpeg"/>
|
---|
| 560 | </para>
|
---|
[231e47d7] | 561 | </listitem>
|
---|
| 562 | </itemizedlist>
|
---|
| 563 | </listitem>
|
---|
| 564 | </itemizedlist>
|
---|
[a6af3ab9] | 565 | -->
|
---|
[17bcb81] | 566 |
|
---|
| 567 | <!-- URI -->
|
---|
[41b9f22] | 568 | <bridgehead renderas="sect3" id="perl-uri"
|
---|
| 569 | xreflabel="URI-&URI-version;">
|
---|
| 570 | URI-&URI-version;</bridgehead>
|
---|
| 571 |
|
---|
| 572 | <indexterm zone="perl-modules perl-uri">
|
---|
[254592b] | 573 | <primary sortas="a-URI">URI</primary>
|
---|
[41b9f22] | 574 | </indexterm>
|
---|
| 575 |
|
---|
[17bcb81] | 576 | <para>
|
---|
| 577 | This module implements the URI class. Objects of this class represent
|
---|
| 578 | "Uniform Resource Identifier references" as specified in RFC 2396 (and
|
---|
| 579 | updated by RFC 2732). A Uniform Resource Identifier is a compact string of
|
---|
| 580 | characters that identifies an abstract or physical resource. A Uniform
|
---|
| 581 | Resource Identifier can be further classified as either a Uniform Resource
|
---|
| 582 | Locator (URL) or a Uniform Resource Name (URN). The distinction between
|
---|
| 583 | URL and URN does not matter to the URI class interface. A "URI-reference"
|
---|
| 584 | is a URI that may have additional information attached in the form of a
|
---|
[b3aacc0] | 585 | fragment identifier. This module uses the standard
|
---|
| 586 | <xref linkend="perl-standard-install"/>.
|
---|
[17bcb81] | 587 | </para>
|
---|
[41b9f22] | 588 |
|
---|
[9faa3b74] | 589 | &lfs75_checked;
|
---|
[254592b] | 590 |
|
---|
[8e2f6669] | 591 | <itemizedlist>
|
---|
[1fb54051] | 592 | <listitem> <literallayout><ulink url="http://www.cpan.org/authors/id/G/GA/GAAS/URI-&URI-version;.tar.gz">URI-&URI-version;</ulink>
|
---|
| 593 | http://www.cpan.org/authors/id/G/GA/GAAS/URI-&URI-version;.tar.gz
|
---|
| 594 | MD5 sum: 70f739be8ce28b8baba7c5920ffee4dc </literallayout>
|
---|
[41b9f22] | 595 | </listitem>
|
---|
| 596 | </itemizedlist>
|
---|
[17bcb81] | 597 |
|
---|
[d9afe96] | 598 | <!-- XML::Parser -->
|
---|
[c1968e6] | 599 | <!-- <bridgehead renderas="sect3" id="perl-xml-parser"
|
---|
[d9afe96] | 600 | xreflabel="XML::Parser-&XML-Parser-version;">
|
---|
| 601 | XML::Parser-&XML-Parser-version;</bridgehead>
|
---|
[231e47d7] | 602 |
|
---|
[d9afe96] | 603 | <indexterm zone="perl-modules perl-xml-parser">
|
---|
[254592b] | 604 | <primary sortas="a-XML-Parser">XML::Parser</primary>
|
---|
[231e47d7] | 605 | </indexterm>
|
---|
| 606 |
|
---|
[d9afe96] | 607 | <para>The XML::Parser module is a <application>Perl</application> extension
|
---|
| 608 | interface to James Clark's XML parser,
|
---|
[b3aacc0] | 609 | <application>expat</application>. The module uses the standard
|
---|
[231e47d7] | 610 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 611 |
|
---|
[b5404468] | 612 | &lfs75_checked;
|
---|
[254592b] | 613 |
|
---|
[8e2f6669] | 614 | <itemizedlist>
|
---|
[1fb54051] | 615 | <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>
|
---|
| 616 | http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-&XML-Parser-version;.tar.gz
|
---|
| 617 | MD5 sum: c320d2ffa459e6cdc6f9f59c1185855e) </literallayout>
|
---|
[231e47d7] | 618 | <itemizedlist>
|
---|
[c1968e6] | 619 | <!-<listitem>
|
---|
[8e2f6669] | 620 | <para>
|
---|
| 621 | <xref linkend="expat"/>
|
---|
| 622 | </para>
|
---|
[c1968e6] | 623 | </listitem> ->
|
---|
[c6405d8] | 624 | <listitem>
|
---|
[8e2f6669] | 625 | <para>
|
---|
[831caa1f] | 626 | <xref linkend="perl-lwp"/> (optionally used in the test suite)
|
---|
[8e2f6669] | 627 | </para>
|
---|
[c6405d8] | 628 | </listitem>
|
---|
| 629 | </itemizedlist>
|
---|
[895dad28] | 630 |
|
---|
| 631 | </listitem>
|
---|
[c1968e6] | 632 | </itemizedlist>-->
|
---|
[5a14a19] | 633 |
|
---|
[c1c5ff55] | 634 | <!-- XML::Simple -->
|
---|
| 635 | <bridgehead renderas="sect3" id="perl-xml-simple"
|
---|
| 636 | xreflabel="XML::Simple-&XML-Simple-version;">
|
---|
| 637 | XML::Simple-&XML-Simple-version;</bridgehead>
|
---|
| 638 |
|
---|
| 639 | <indexterm zone="perl-modules perl-xml-simple">
|
---|
[254592b] | 640 | <primary sortas="a-XML-Simple">XML::Simple</primary>
|
---|
[c1c5ff55] | 641 | </indexterm>
|
---|
| 642 |
|
---|
| 643 | <para>The XML::Simple module is a <application>Perl</application> extension
|
---|
| 644 | that provides an easy API to read and write XML (especially config files).
|
---|
[8e2f6669] | 645 | This module and all dependency modules use the standard
|
---|
[c1c5ff55] | 646 | <xref linkend="perl-standard-install"/>.</para>
|
---|
| 647 |
|
---|
[1c4f3b1f] | 648 | &lfs75_checked;
|
---|
[254592b] | 649 |
|
---|
[8e2f6669] | 650 | <itemizedlist>
|
---|
[1fb54051] | 651 | <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>
|
---|
| 652 | http://cpan.org/authors/id/G/GR/GRANTM/XML-Simple-&XML-Simple-version;.tar.gz
|
---|
| 653 | MD5 sum: 4d10964e123b76eca36678464daa63cd </literallayout>
|
---|
[c1c5ff55] | 654 | <itemizedlist>
|
---|
[1fb54051] | 655 | <listitem> <literallayout><ulink url="http://search.cpan.org/~grantm/XML-SAX/">XML::SAX</ulink>
|
---|
| 656 | (http://search.cpan.org/~grantm/XML-SAX/)
|
---|
| 657 | (Note: this package does not support parallel build)
|
---|
| 658 |
|
---|
| 659 | </literallayout>
|
---|
[c1c5ff55] | 660 | <itemizedlist>
|
---|
[1fb54051] | 661 | <listitem> <literallayout><ulink url="http://search.cpan.org/~perigrin/XML-NamespaceSupport/">XML::NamespaceSupport</ulink>
|
---|
| 662 | (http://search.cpan.org/~perigrin/XML-NamespaceSupport/) </literallayout>
|
---|
[2614cd5] | 663 | </listitem>
|
---|
[1fb54051] | 664 | <listitem> <literallayout><ulink url="http://search.cpan.org/~grantm/XML-SAX-Base/">XML::SAX::Base</ulink>
|
---|
| 665 | (http://search.cpan.org/~grantm/XML-SAX-Base/) </literallayout>
|
---|
[c1c5ff55] | 666 | </listitem>
|
---|
[831caa1f] | 667 | </itemizedlist>
|
---|
| 668 | </listitem>
|
---|
[1fb54051] | 669 | <listitem> <literallayout><ulink url="http://search.cpan.org/~bjoern/XML-SAX-Expat/">XML::SAX::Expat</ulink>
|
---|
| 670 | (http://search.cpan.org/~bjoern/XML-SAX-Expat/)
|
---|
| 671 | (Note: this package does not support parallel build)
|
---|
| 672 |
|
---|
| 673 | </literallayout>
|
---|
[c1968e6] | 674 | <!-- <itemizedlist>
|
---|
[c1c5ff55] | 675 | <listitem>
|
---|
[8e2f6669] | 676 | <para>
|
---|
[2614cd5] | 677 | <xref linkend="perl-xml-parser"/>
|
---|
[8e2f6669] | 678 | </para>
|
---|
[c1c5ff55] | 679 | </listitem>
|
---|
[c1968e6] | 680 | </itemizedlist>-->
|
---|
[c1c5ff55] | 681 | </listitem>
|
---|
[1fb54051] | 682 | <listitem> <literallayout id="perl-xml-libxml"><ulink url="http://search.cpan.org/~shlomif/XML-LibXML/">XML::LibXML</ulink>
|
---|
| 683 | (http://search.cpan.org/~shlomif/XML-LibXML/)
|
---|
| 684 | (recommended for faster parsing) </literallayout>
|
---|
[831caa1f] | 685 | </listitem>
|
---|
[1fb54051] | 686 | <listitem> <literallayout><ulink url="http://search.cpan.org/~chorny/Tie-IxHash/">Tie::IxHash</ulink>
|
---|
| 687 | (http://search.cpan.org/~chorny/Tie-IxHash/)
|
---|
| 688 | (optionally used in the test suite) </literallayout>
|
---|
[c1c5ff55] | 689 | </listitem>
|
---|
| 690 | </itemizedlist>
|
---|
| 691 | </listitem>
|
---|
| 692 | </itemizedlist>
|
---|
[17bcb81] | 693 |
|
---|
[a6af3ab9] | 694 | <!-- YAML
|
---|
[f2981ec8] | 695 | <bridgehead renderas="sect3" id="perl-yaml"
|
---|
| 696 | xreflabel="YAML-&YAML-version;">
|
---|
| 697 | YAML-&YAML-version;</bridgehead>
|
---|
| 698 |
|
---|
| 699 | <indexterm zone="perl-modules perl-yaml">
|
---|
[254592b] | 700 | <primary sortas="a-YAML">YAML</primary>
|
---|
[f2981ec8] | 701 | </indexterm>
|
---|
| 702 |
|
---|
[3202d0b] | 703 | <para>The <application>YAML</application> modules implement a
|
---|
| 704 | <application>YAML</application> Loader and Dumper based on the
|
---|
[29f80ebc] | 705 | <application>YAML</application> 1.0 specification
|
---|
[3202d0b] | 706 | <ulink url="http://www.yaml.org/spec/"/>.
|
---|
| 707 | <application>YAML</application> is a generic data serialization language
|
---|
| 708 | that is optimized for human readability. It can be used to express the data
|
---|
[aa6045e] | 709 | structures of most modern programming languages. The module and
|
---|
| 710 | dependencies are installed using the standard
|
---|
| 711 | <application>Perl</application> module
|
---|
| 712 | <xref linkend="perl-standard-install"/>.</para>
|
---|
[3202d0b] | 713 |
|
---|
| 714 | <note>
|
---|
| 715 | <para>The <application>YAML</application>,
|
---|
| 716 | <application>Test::Base</application> and
|
---|
| 717 | <application>Spiffy</application> modules will install UTF-8
|
---|
| 718 | encoded manual pages. To modify the manual pages so that non-UTF-8
|
---|
| 719 | encoded pages are installed, issue the following commands (before
|
---|
| 720 | any other build commands):</para>
|
---|
| 721 |
|
---|
| 722 | <screen><literal>For <application>Spiffy</application>: <command>sed -i 's,\xc3\xb6,o,' lib/Spiffy.pm</command>
|
---|
| 723 |
|
---|
| 724 | For <application>Test::Base</application>: <command>sed -i 's,\xc3\xb6,o,' \
|
---|
| 725 | lib/Test/Base{,/Filter}.pm \
|
---|
| 726 | lib/Module/Install/TestBase.pm</command>
|
---|
| 727 |
|
---|
| 728 | For <application>YAML</application>: <command>sed -i 's,\xc3\xb6,o,' \
|
---|
[c5fb8c3] | 729 | ysh \
|
---|
| 730 | lib{,/Test}/YAML.pm \
|
---|
[3202d0b] | 731 | lib/YAML/{Types,Node,Error,Marshall,Tag,Base}.pm \
|
---|
| 732 | lib/YAML/{Loader,Dumper}{,/Base}.pm</command></literal></screen>
|
---|
| 733 |
|
---|
| 734 | </note>
|
---|
[f2981ec8] | 735 |
|
---|
[8e2f6669] | 736 | <itemizedlist>
|
---|
[f2981ec8] | 737 | <listitem>
|
---|
[8e2f6669] | 738 | <para>
|
---|
| 739 | <ulink url="http://cpan.org/authors/id/I/IN/INGY/YAML-&YAML-version;.tar.gz">
|
---|
| 740 | YAML-&YAML-version;</ulink></para>
|
---|
[f2981ec8] | 741 | <itemizedlist>
|
---|
| 742 | <listitem>
|
---|
[8e2f6669] | 743 | <para>
|
---|
| 744 | <ulink url="http://cpan.org/authors/id/I/IN/INGY/Test-Base-&Test-Base-version;.tar.gz">
|
---|
| 745 | Test-Base-&Test-Base-version;</ulink>
|
---|
| 746 | (optionally used during the tests)
|
---|
| 747 | </para>
|
---|
| 748 | <itemizedlist>
|
---|
| 749 | <listitem>
|
---|
| 750 | <para
|
---|
| 751 | <ulink url="http://cpan.org/authors/id/I/IN/INGY/Spiffy-&Spiffy-version;.tar.gz">
|
---|
| 752 | Spiffy-&Spiffy-version;</ulink></para>
|
---|
| 753 | </listitem>
|
---|
| 754 | </itemizedlist>
|
---|
[ca29ea3] | 755 | </listitem>
|
---|
| 756 | <listitem>
|
---|
[8e2f6669] | 757 | <para>
|
---|
| 758 | <xref linkend="perl-text-diff"/>
|
---|
| 759 | (optionally used during the tests)
|
---|
| 760 | </para>
|
---|
[ca29ea3] | 761 | </listitem>
|
---|
[f2981ec8] | 762 | </itemizedlist>
|
---|
| 763 | </listitem>
|
---|
| 764 | </itemizedlist>
|
---|
[a6af3ab9] | 765 | -->
|
---|
[17bcb81] | 766 |
|
---|
[9ee1058] | 767 | </sect2>
|
---|
| 768 |
|
---|
[10a2ee5] | 769 | <sect2 role="installation" id="perl-standard-install"
|
---|
| 770 | xreflabel="build and installation instructions">
|
---|
| 771 | <title>Standard Installation of Perl Modules</title>
|
---|
[9ee1058] | 772 |
|
---|
[10a2ee5] | 773 | <para>Install <application>Perl</application> modules by running the
|
---|
| 774 | following commands:</para>
|
---|
[9ee1058] | 775 |
|
---|
| 776 | <screen><userinput>perl Makefile.PL &&
|
---|
[52d29f7] | 777 | make &&
|
---|
[9ee1058] | 778 | make test</userinput></screen>
|
---|
[7fc4452] | 779 |
|
---|
[9ee1058] | 780 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[7fc4452] | 781 |
|
---|
[9ee1058] | 782 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[62c964d] | 783 |
|
---|
[38c1e39] | 784 | <note>
|
---|
| 785 | <para>When reinstalling a <application>Perl</application> module,
|
---|
| 786 | sometimes older versions of the module being reinstalled are in other
|
---|
| 787 | directories specified in <parameter>@INC</parameter>. To delete all
|
---|
| 788 | other versions of the module being reinstalled (not simply older ones)
|
---|
| 789 | set the <varname>UNINST</varname> variable:</para>
|
---|
| 790 |
|
---|
[b14628ba] | 791 | <screen><userinput>make install UNINST=1</userinput></screen>
|
---|
[38c1e39] | 792 | </note>
|
---|
| 793 |
|
---|
[9ee1058] | 794 | </sect2>
|
---|
[bd23186f] | 795 |
|
---|
[3e4b0b2] | 796 | <sect2 role="installation" id="perl-auto-install"
|
---|
| 797 | xreflabel="alternate auto installation instructions">
|
---|
[9ee1058] | 798 | <title>(Alternate) Auto Installation of Perl Modules.</title>
|
---|
[62c964d] | 799 |
|
---|
[dbaa33d] | 800 | <para>There is an alternate way of installing the modules using the
|
---|
| 801 | <command>cpan</command> shell <command>install</command> command. The
|
---|
| 802 | command automatically downloads the source from the CPAN archive, extracts
|
---|
| 803 | it, runs the compilation, testing and installation commands mentioned
|
---|
| 804 | above, and removes the build source tree. You may still need to install
|
---|
| 805 | dependent library packages before running the automated installation
|
---|
| 806 | method.</para>
|
---|
| 807 |
|
---|
| 808 | <para>The first time you run <command>cpan</command>, you'll be prompted
|
---|
| 809 | to enter some information regarding download locations and methods. This
|
---|
| 810 | information is retained in files located in
|
---|
| 811 | <filename class='directory'>~/.cpan</filename>. Start the
|
---|
| 812 | <command>cpan</command> shell by issuing '<command>cpan</command>' as the
|
---|
| 813 | <systemitem class="username">root</systemitem> user. Any module may now be
|
---|
| 814 | installed from the
|
---|
| 815 | <emphasis role='underlined'><prompt>cpan> </prompt></emphasis>
|
---|
| 816 | prompt with the command:</para>
|
---|
[62c964d] | 817 |
|
---|
[1039de3] | 818 | <screen role="root"><userinput>install <replaceable><Module::Name></replaceable></userinput></screen>
|
---|
[62c964d] | 819 |
|
---|
[dbaa33d] | 820 | <para>For additional commands and help, issue '<command>help</command>'
|
---|
| 821 | from the
|
---|
| 822 | <emphasis role='underlined'><prompt>cpan> </prompt></emphasis>
|
---|
| 823 | prompt.</para>
|
---|
[3d60760] | 824 |
|
---|
[10a2ee5] | 825 | <para>Alternatively, for scripted or non-interactive installations, use the
|
---|
| 826 | following syntax as the
|
---|
[dbaa33d] | 827 | <systemitem class="username">root</systemitem> user to install one or more
|
---|
| 828 | modules:</para>
|
---|
| 829 |
|
---|
| 830 | <screen role="root"><userinput>cpan -i <replaceable><Module1::Name> <Module2::Name></replaceable></userinput></screen>
|
---|
[10a2ee5] | 831 |
|
---|
[dbaa33d] | 832 | <para>Review the <filename>cpan.1</filename> man page for additional
|
---|
| 833 | parameters you can pass to <command>cpan</command> on the command
|
---|
| 834 | line.</para>
|
---|
[10a2ee5] | 835 |
|
---|
[9ee1058] | 836 | </sect2>
|
---|
[3d60760] | 837 |
|
---|
[9ee1058] | 838 | </sect1>
|
---|