[a206343] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[396abe0] | 7 | <!ENTITY my-download-http "&perl_authors;/id/O/OA/OALDERS/libwww-perl-&libwww-perl-version;.tar.gz">
|
---|
[d4e2f0e] | 8 | <!ENTITY my-md5sum "ff7621d0350da3052f24db9a74692672">
|
---|
[a206343] | 9 |
|
---|
| 10 | ]>
|
---|
| 11 |
|
---|
| 12 | <!-- Begin libwww-perl -->
|
---|
[4392a40] | 13 | <sect2 id="perl-libwww-perl" xreflabel="libwww-perl-&libwww-perl-version;">
|
---|
[a206343] | 14 |
|
---|
[972c6514] | 15 | <title>LWP (libwww-perl-&libwww-perl-version;)</title>
|
---|
[a206343] | 16 |
|
---|
[4392a40] | 17 | <indexterm zone="perl-libwww-perl">
|
---|
[a206343] | 18 | <primary sortas="a-libwww-perl">libwww-perl</primary>
|
---|
| 19 | </indexterm>
|
---|
| 20 |
|
---|
| 21 | <sect3 role="package">
|
---|
| 22 | <title>Introduction to LWP - The World-wide Web library for
|
---|
| 23 | <application>Perl</application></title>
|
---|
| 24 |
|
---|
| 25 | <para>
|
---|
| 26 | The libwww-perl collection is a set of Perl modules which provides a
|
---|
| 27 | simple and consistent application programming interface (API) to the
|
---|
| 28 | World-Wide Web. The main focus of the library is to provide classes and
|
---|
| 29 | functions that allow you to write WWW clients. The library also contains
|
---|
| 30 | modules that are of more general use and even classes that help you
|
---|
| 31 | implement simple HTTP servers.
|
---|
| 32 | </para>
|
---|
| 33 |
|
---|
[972c6514] | 34 | <!-- For CPAN, this may be pulled in with 'cpan -i Bundle::LWP' or just LWP-->
|
---|
[11193870] | 35 |
|
---|
[c2f9a33] | 36 | &lfs111_checked;
|
---|
[a206343] | 37 |
|
---|
| 38 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&my-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download MD5 sum: &my-md5sum;
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | </itemizedlist>
|
---|
| 51 |
|
---|
| 52 | <bridgehead renderas="sect4">libwww-perl Dependencies</bridgehead>
|
---|
| 53 |
|
---|
| 54 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 55 | <para role="required">
|
---|
[4392a40] | 56 | <xref linkend="perl-file-listing"/>,
|
---|
| 57 | <xref linkend="perl-http-cookies"/>,
|
---|
| 58 | <xref linkend="perl-http-daemon"/>,
|
---|
[a206343] | 59 | <!-- perl-http-daemon pulls in perl-http-message
|
---|
| 60 | for HTTP::Request, HTTP::Response, HTTP::Status -->
|
---|
| 61 | <!-- perl-http-message pulls in perl-encode-locale,
|
---|
| 62 | perl-http-date, perl-lwp-mediatypes and perl-uri -->
|
---|
[4392a40] | 63 | <xref linkend="perl-http-negotiate"/>,
|
---|
| 64 | <xref linkend="perl-html-parser"/>,
|
---|
| 65 | <xref linkend="perl-net-http"/>,
|
---|
| 66 | <xref linkend="perl-try-tiny"/> and
|
---|
| 67 | <xref linkend="perl-www-robotrules"/>
|
---|
[a206343] | 68 | </para>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect5">Recommended (required for the testsuite)</bridgehead>
|
---|
| 71 | <para role="recommended">
|
---|
[4392a40] | 72 | <xref linkend="perl-test-fatal"/>,
|
---|
| 73 | <xref linkend="perl-test-needs"/> and
|
---|
| 74 | <xref linkend="perl-test-requiresinternet"/>
|
---|
[a206343] | 75 | </para>
|
---|
| 76 |
|
---|
| 77 | </sect3>
|
---|
| 78 |
|
---|
| 79 | <sect3 role="installation">
|
---|
| 80 | <title>Installation of libwww-perl</title>
|
---|
| 81 |
|
---|
| 82 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 83 | href="../../../xincludes/perl-standard-install.xml"/>
|
---|
| 84 |
|
---|
| 85 | <para>
|
---|
[de33b2a] | 86 | After installing this package, if you want HTTPS protocol support
|
---|
| 87 | install <xref linkend="perl-lwp-protocol-https"/>.
|
---|
[a206343] | 88 | </para>
|
---|
| 89 |
|
---|
| 90 | </sect3>
|
---|
| 91 |
|
---|
| 92 | <sect3 role="content">
|
---|
| 93 | <title>Contents</title>
|
---|
| 94 |
|
---|
| 95 | <segmentedlist>
|
---|
| 96 | <segtitle>Installed Programs</segtitle>
|
---|
| 97 |
|
---|
| 98 | <seglistitem>
|
---|
| 99 | <seg>
|
---|
| 100 | lwp-download, lwp-dump, lwp-mirror, lwp-request
|
---|
| 101 | </seg>
|
---|
| 102 | </seglistitem>
|
---|
| 103 | </segmentedlist>
|
---|
| 104 |
|
---|
| 105 | <variablelist>
|
---|
| 106 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 107 | <?dbfo list-presentation="list"?>
|
---|
| 108 | <?dbhtml list-presentation="table"?>
|
---|
| 109 |
|
---|
| 110 | <varlistentry id="lwp-download-prog">
|
---|
| 111 | <term><command>lwp-download</command></term>
|
---|
| 112 | <listitem>
|
---|
[de33b2a] | 113 | <para>
|
---|
[4c24eb0a] | 114 | is a script to fetch a large file from the web
|
---|
[de33b2a] | 115 | </para>
|
---|
[a206343] | 116 | <!-- the -prog is for while (old) and new- perl module pages
|
---|
| 117 | are both in the book, without it the link to the package is
|
---|
| 118 | correct, but the link to the prog goes to the progs in old
|
---|
| 119 | perl-modules.xml -->
|
---|
[4392a40] | 120 | <indexterm zone="perl-libwww-perl lwp-download-prog">
|
---|
[a206343] | 121 | <primary sortas="b-lwp-download">lwp-download</primary>
|
---|
| 122 | </indexterm>
|
---|
| 123 | </listitem>
|
---|
| 124 | </varlistentry>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="lwp-dump-prog">
|
---|
| 127 | <term><command>lwp-dump</command></term>
|
---|
| 128 | <listitem>
|
---|
[de33b2a] | 129 | <para>
|
---|
[4c24eb0a] | 130 | is used to see what headers and content is returned for a URL
|
---|
[de33b2a] | 131 | </para>
|
---|
[4392a40] | 132 | <indexterm zone="perl-libwww-perl lwp-dump-prog">
|
---|
[a206343] | 133 | <primary sortas="b-lwp-dump">lwp-dump</primary>
|
---|
| 134 | </indexterm>
|
---|
| 135 | </listitem>
|
---|
| 136 | </varlistentry>
|
---|
| 137 |
|
---|
| 138 | <varlistentry id="lwp-mirror-prog">
|
---|
| 139 | <term><command>lwp-mirror</command></term>
|
---|
| 140 | <listitem>
|
---|
[de33b2a] | 141 | <para>
|
---|
[4c24eb0a] | 142 | is a simple mirror utility
|
---|
[de33b2a] | 143 | </para>
|
---|
[4392a40] | 144 | <indexterm zone="perl-libwww-perl lwp-mirror-prog">
|
---|
[a206343] | 145 | <primary sortas="b-lwp-mirror">lwp-mirror</primary>
|
---|
| 146 | </indexterm>
|
---|
| 147 | </listitem>
|
---|
| 148 | </varlistentry>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="lwp-request-prog">
|
---|
| 151 | <term><command>lwp-request</command></term>
|
---|
| 152 | <listitem>
|
---|
[de33b2a] | 153 | <para>
|
---|
[4c24eb0a] | 154 | is a simple command line user agent
|
---|
[de33b2a] | 155 | </para>
|
---|
[4392a40] | 156 | <indexterm zone="perl-libwww-perl lwp-request-prog">
|
---|
[a206343] | 157 | <primary sortas="b-lwp-request">lwp-request</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
| 162 | </variablelist>
|
---|
| 163 |
|
---|
| 164 | </sect3>
|
---|
| 165 |
|
---|
| 166 | </sect2>
|
---|