1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
<sect1 id="ch-system-perl" xreflabel="Perl" role="wrap">
<title>Perl-&perl-version;</title>
<?dbhtml filename="perl.html"?>
<indexterm zone="ch-system-perl"><primary sortas="a-Perl">Perl</primary></indexterm>
<sect2 role="package"><title/>
<para>The Perl package contains the Practical Extraction and Report Language.</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<seglistitem><seg>2.9 SBU</seg><seg>143 MB</seg></seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>Perl installation depends on</segtitle>
<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
Gawk, GCC, Glibc, Grep, Make, Sed</seg></seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Installation of Perl</title>
<para>If you want full control over the way Perl is set up, you can run the
interactive <command>Configure</command> script and hand-pick the way this
package is built. If you think you can live with the (sensible)
defaults it auto-detects, then prepare Perl for compilation with:</para>
<screen><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>
<para>The meaning of the configure option:</para>
<itemizedlist>
<listitem><para><userinput>-Dpager="/bin/less -isR"</userinput>: This corrects
an error in the perldoc code with the invocation of the less
program.</para></listitem>
</itemizedlist>
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
<para>If you wish to run the test suite, you first have to create a basic
<filename>/etc/hosts</filename> file, which is needed by a couple of tests to
resolve the name <emphasis>localhost</emphasis>:</para>
<screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen>
<para>Now run the tests, if you wish:</para>
<screen><userinput>make test</userinput></screen>
<para>Finally, install the package:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
<sect2 id="contents-perl"><title>Contents of Perl</title>
<para><emphasis>Installed programs</emphasis>: a2p, c2ph, dprofpp, enc2xs,
find2perl, h2ph, h2xs, libnetcfg, perl, perl&perl-version; (link to perl),
perlbug, perlcc, perldoc, perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man,
pod2text, pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link
to c2ph), s2p, splain and xsubpp</para>
<para><emphasis>Installed libraries</emphasis>: (too many to name)</para>
</sect2>
<sect2><title>Short descriptions</title>
<indexterm zone="ch-system-perl a2p"><primary sortas="b-a2p">a2p</primary></indexterm>
<para id="a2p"><command>a2p</command> translates awk to perl.</para>
<indexterm zone="ch-system-perl c2ph"><primary sortas="b-c2ph">c2ph</primary></indexterm>
<para id="c2ph"><command>c2ph</command> dumps C structures as generated from
"cc -g -S" stabs.</para>
<indexterm zone="ch-system-perl dprofpp"><primary sortas="b-dprofpp">dprofpp</primary></indexterm>
<para id="dprofpp"><command>dprofpp</command> displays perl profile data.</para>
<indexterm zone="ch-system-perl en2cxs"><primary sortas="b-en2cxs">en2cxs</primary></indexterm>
<para id="en2cxs"><command>en2cxs</command> builds a Perl extension for the Encode module,
from either Unicode Character Mappings or Tcl Encoding Files.</para>
<indexterm zone="ch-system-perl find2perl"><primary sortas="b-find2perl">find2perl</primary></indexterm>
<para id="find2perl"><command>find2perl</command> translates find commands to perl.</para>
<indexterm zone="ch-system-perl h2ph"><primary sortas="b-h2ph">h2ph</primary></indexterm>
<para id="h2ph"><command>h2ph</command> converts .h C header files to .ph Perl header files.</para>
<indexterm zone="ch-system-perl h2xs"><primary sortas="b-h2xs">h2xs</primary></indexterm>
<para id="h2xs"><command>h2xs</command> converts .h C header files to Perl extensions.</para>
<indexterm zone="ch-system-perl libnetcfg"><primary sortas="b-libnetcfg">libnetcfg</primary></indexterm>
<para id="libnetcfg"><command>libnetcfg</command> can be used to configure the libnet.</para>
<indexterm zone="ch-system-perl perl"><primary sortas="b-perl">perl</primary></indexterm>
<para id="perl"><command>perl</command> combines some of the best features of C, sed,
awk and sh into a single swiss-army language.</para>
<indexterm zone="ch-system-perl perlbug"><primary sortas="b-perlbug">perlbug</primary></indexterm>
<para id="perlbug"><command>perlbug</command> is used to generate bug reports about
Perl or the modules that come with it, and mail them.</para>
<indexterm zone="ch-system-perl perlcc"><primary sortas="b-perlcc">perlcc</primary></indexterm>
<para id="perlcc"><command>perlcc</command> generates executables from Perl programs.</para>
<indexterm zone="ch-system-perl perldoc"><primary sortas="b-perldoc">perldoc</primary></indexterm>
<para id="perldoc"><command>perldoc</command> displays a piece of documentation in pod
format that is embedded in the perl installation tree or in a perl script.</para>
<indexterm zone="ch-system-perl perlivp"><primary sortas="b-perlivp">perlivp</primary></indexterm>
<para id="perlivp"><command>perlivp</command> is the Perl Installation Verification
Procedure. It can be used to verify that Perl and its libraries have been
installed correctly.</para>
<indexterm zone="ch-system-perl piconv"><primary sortas="b-piconv">piconv</primary></indexterm>
<para id="piconv"><command>piconv</command> is a Perl version of the character encoding
converter <command>iconv</command>.</para>
<indexterm zone="ch-system-perl pl2pm"><primary sortas="b-pl2pm">pl2pm</primary></indexterm>
<para id="pl2pm"><command>pl2pm</command> is a rough tool for converting Perl4 .pl
files to Perl5 .pm modules.</para>
<indexterm zone="ch-system-perl pod2html"><primary sortas="b-pod2html">pod2html</primary></indexterm>
<para id="pod2html"><command>pod2html</command> converts files from pod format to HTML
format.</para>
<indexterm zone="ch-system-perl pod2latex"><primary sortas="b-pod2latex">pod2latex</primary></indexterm>
<para id="pod2latex"><command>pod2latex</command> converts files from pod format to LaTeX
format.</para>
<indexterm zone="ch-system-perl pod2man"><primary sortas="b-pod2man">pod2man</primary></indexterm>
<para id="pod2man"><command>pod2man</command> converts pod data to formatted *roff
input.</para>
<indexterm zone="ch-system-perl pod2text"><primary sortas="b-pod2text">pod2text</primary></indexterm>
<para id="pod2text"><command>pod2text</command> converts pod data to formatted ASCII
text.</para>
<indexterm zone="ch-system-perl pod2usage"><primary sortas="b-pod2usage">pod2usage</primary></indexterm>
<para id="pod2usage"><command>pod2usage</command> prints usage messages from embedded
pod docs in files.</para>
<indexterm zone="ch-system-perl podchecker"><primary sortas="b-podchecker">podchecker</primary></indexterm>
<para id="podchecker"><command>podchecker</command> checks the syntax of pod format
documentation files.</para>
<indexterm zone="ch-system-perl podselect"><primary sortas="b-podselect">podselect</primary></indexterm>
<para id="podselect"><command>podselect</command> displays selected sections of pod
documentation.</para>
<indexterm zone="ch-system-perl psed"><primary sortas="b-psed">psed</primary></indexterm>
<para id="psed"><command>psed</command> is a Perl version of the stream editor
<userinput>sed</userinput>.</para>
<indexterm zone="ch-system-perl pstruct"><primary sortas="b-pstruct">pstruct</primary></indexterm>
<para id="pstruct"><command>pstruct</command> dumps C structures as generated from
"cc -g -S" stabs.</para>
<indexterm zone="ch-system-perl s2p"><primary sortas="b-s2p">s2p</primary></indexterm>
<para id="s2p"><command>s2p</command> translates sed to perl.</para>
<indexterm zone="ch-system-perl splain"><primary sortas="b-splain">splain</primary></indexterm>
<para id="splain"><command>splain</command> is used to force verbose warning
diagnostics in perl.</para>
<indexterm zone="ch-system-perl xsubpp"><primary sortas="b-xsubpp">xsubpp</primary></indexterm>
<para id="xsubpp"><command>xsubpp</command> converts Perl XS code into C code.</para>
</sect2>
</sect1>
|