source: lwp-protocol-https.xml@ acf7e2c

basic
Last change on this file since acf7e2c was acf7e2c, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Updates to Basic BLFS Chapter 3

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

  • Property mode set to 100644
File size: 3.2 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>LWP::Protocol::https-&LWP-Protocol-https-version; (Perl Module)</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<screen><userinput>cpan -i LWP::Protocol::https</userinput></screen>
39
40 </sect2>
41
42 <sect2 role="installation" id="perl-auto-install"
43 xreflabel="auto installation instructions">
44 <title>Auto Installation of Perl Modules.</title>
45
46 <para>Install Perl modules using the
47 <command>cpan</command> shell <command>install</command> command. The
48 command automatically downloads the source from the CPAN archive, extracts
49 it, runs the compilation, testing and installation commands mentioned
50 above.
51 </para>
52
53 <para>The first time you run <command>cpan</command>, you'll be prompted
54 to enter some information regarding download locations and methods. This
55 information is retained in files located in
56 <filename class='directory'>~/.cpan</filename>. Start the
57 <command>cpan</command> shell by issuing '<command>cpan</command>' as the
58 <systemitem class="username">root</systemitem> user. Any module may now be
59 installed from the
60 <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
61 prompt with the command:</para>
62
63<screen role="root"><userinput>install <replaceable>&lt;Module::Name&gt;</replaceable></userinput></screen>
64
65 <para>For additional commands and help, issue '<command>help</command>'
66 from the
67 <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
68 prompt.</para>
69
70 <para>Alternatively, for scripted or non-interactive installations, use the
71 following syntax as the
72 <systemitem class="username">root</systemitem> user to install one or more
73 modules:</para>
74
75<screen role="root"><userinput>cpan -i <replaceable>&lt;Module1::Name&gt; &lt;Module2::Name&gt;</replaceable></userinput></screen>
76
77 <para>Review the <filename>cpan.1</filename> man page for additional
78 parameters you can pass to <command>cpan</command> on the command
79 line.</para>
80
81 </sect2>
82
83</sect1>
Note: See TracBrowser for help on using the repository browser.