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