source: lwp-protocol-https.xml@ 57e3994

basic
Last change on this file since 57e3994 was e1100da, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Initial commit of basic branch

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/basic@20509 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.1 KB
Line 
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
7 <!ENTITY LWP-Protocol-https-download-http "&perl_authors;/id/O/OA/OALDERS/LWP-Protocol-https-&LWP-Protocol-https-version;.tar.gz">
8 <!ENTITY LWP-Protocol-https-md5sum "b8943dfb7d187af63c36fc18ab15947d">
9]>
10
11<sect1 id="lwp-protocol-https" xreflabel="LWP::Protocol::https">
12 <?dbhtml filename="lwp-protocol-https.html" ?>
13
14 <sect1info>
15 <othername>$LastChangedBy$</othername>
16 <date>$Date$</date>
17 </sect1info>
18
19 <title>Perl Modules</title>
20
21 <sect2 role="package">
22 <title>Introduction to Perl Module LWP::Protocol::https</title>
23
24
25 <!-- LWP::Protocol::https -->
26 <bridgehead renderas="sect3" id="perl-lwp-protocol-https"
27 xreflabel="LWP::Protocol::https-&LWP-Protocol-https-version;">
28 LWP::Protocol::https-&LWP-Protocol-https-version;</bridgehead>
29
30 <indexterm zone="lwp-protocol-https perl-lwp-protocol-https">
31 <primary sortas="a-LWP-Protocol-https">LWP::Protocol::https</primary>
32 </indexterm>
33
34 <para>LWP::Protocol::https provides https support for
35 LWP::UserAgent (i.e. for LWP). This module uses
36 <xref linkend="perl-auto-install"/>.</para>
37
38 </sect2>
39
40 <sect2 role="installation" id="perl-auto-install"
41 xreflabel="auto installation instructions">
42 <title>Auto Installation of Perl Modules.</title>
43
44 <para>Install Perl modules using the
45 <command>cpan</command> shell <command>install</command> command. The
46 command automatically downloads the source from the CPAN archive, extracts
47 it, runs the compilation, testing and installation commands mentioned
48 above.
49 </para>
50
51 <para>The first time you run <command>cpan</command>, you'll be prompted
52 to enter some information regarding download locations and methods. This
53 information is retained in files located in
54 <filename class='directory'>~/.cpan</filename>. Start the
55 <command>cpan</command> shell by issuing '<command>cpan</command>' as the
56 <systemitem class="username">root</systemitem> user. Any module may now be
57 installed from the
58 <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
59 prompt with the command:</para>
60
61<screen role="root"><userinput>install <replaceable>&lt;Module::Name&gt;</replaceable></userinput></screen>
62
63 <para>For additional commands and help, issue '<command>help</command>'
64 from the
65 <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
66 prompt.</para>
67
68 <para>Alternatively, for scripted or non-interactive installations, use the
69 following syntax as the
70 <systemitem class="username">root</systemitem> user to install one or more
71 modules:</para>
72
73<screen role="root"><userinput>cpan -i <replaceable>&lt;Module1::Name&gt; &lt;Module2::Name&gt;</replaceable></userinput></screen>
74
75 <para>Review the <filename>cpan.1</filename> man page for additional
76 parameters you can pass to <command>cpan</command> on the command
77 line.</para>
78
79 </sect2>
80
81</sect1>
Note: See TracBrowser for help on using the repository browser.