perl.xml 11 KB

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