perl.xml 10 KB

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