1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 |
|
---|
7 | <!ENTITY my-download-http "&perl_authors;/id/O/OA/OALDERS/libwww-perl-&libwww-perl-version;.tar.gz">
|
---|
8 | <!ENTITY my-md5sum "e70e2f41a97b8d97608569d10b75b931">
|
---|
9 | ]>
|
---|
10 |
|
---|
11 | <!-- Begin libwww-perl -->
|
---|
12 | <sect2 id="perl-libwww-perl" xreflabel="libwww-perl-&libwww-perl-version;">
|
---|
13 |
|
---|
14 | <title>LWP (libwww-perl-&libwww-perl-version;)</title>
|
---|
15 |
|
---|
16 | <indexterm zone="perl-libwww-perl">
|
---|
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 |
|
---|
33 | <!-- For CPAN, this may be pulled in with 'cpan -i Bundle::LWP' or just LWP-->
|
---|
34 |
|
---|
35 | &lfs122_checked;
|
---|
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">
|
---|
55 | <xref linkend="perl-file-listing"/>,
|
---|
56 | <xref linkend="perl-http-cookiejar"/>,
|
---|
57 | <xref linkend="perl-http-cookies"/>,
|
---|
58 | <xref linkend="perl-http-daemon"/>,
|
---|
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 -->
|
---|
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"/>
|
---|
68 | </para>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect5">Recommended (required for the test suite)</bridgehead>
|
---|
71 | <para role="recommended">
|
---|
72 | <xref linkend="perl-test-fatal"/>,
|
---|
73 | <xref linkend="perl-test-needs"/> and
|
---|
74 | <xref linkend="perl-test-requiresinternet"/>
|
---|
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>
|
---|
86 | After installing this package, if you want HTTPS protocol support
|
---|
87 | install <xref linkend="perl-lwp-protocol-https"/>.
|
---|
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>
|
---|
113 | <para>
|
---|
114 | is a script to fetch a large file from the web
|
---|
115 | </para>
|
---|
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 -->
|
---|
120 | <indexterm zone="perl-libwww-perl lwp-download-prog">
|
---|
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>
|
---|
129 | <para>
|
---|
130 | is used to see what headers and content is returned for a URL
|
---|
131 | </para>
|
---|
132 | <indexterm zone="perl-libwww-perl lwp-dump-prog">
|
---|
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>
|
---|
141 | <para>
|
---|
142 | is a simple mirror utility
|
---|
143 | </para>
|
---|
144 | <indexterm zone="perl-libwww-perl lwp-mirror-prog">
|
---|
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>
|
---|
153 | <para>
|
---|
154 | is a simple command line user agent
|
---|
155 | </para>
|
---|
156 | <indexterm zone="perl-libwww-perl lwp-request-prog">
|
---|
157 | <primary sortas="b-lwp-request">lwp-request</primary>
|
---|
158 | </indexterm>
|
---|
159 | </listitem>
|
---|
160 | </varlistentry>
|
---|
161 |
|
---|
162 | </variablelist>
|
---|
163 |
|
---|
164 | </sect3>
|
---|
165 |
|
---|
166 | </sect2>
|
---|