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