perl.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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"><title>Contents of Perl</title>
  48. <para><emphasis>Installed programs</emphasis>: a2p, c2ph, dprofpp, enc2xs,
  49. find2perl, h2ph, h2xs, libnetcfg, perl, perl&perl-version; (link to perl),
  50. perlbug, perlcc, perldoc, perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man,
  51. pod2text, pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link
  52. to c2ph), s2p, splain and xsubpp</para>
  53. <para><emphasis>Installed libraries</emphasis>: (too many to name)</para>
  54. </sect2>
  55. <sect2><title>Short descriptions</title>
  56. <indexterm zone="ch-system-perl a2p"><primary sortas="b-a2p">a2p</primary></indexterm>
  57. <para id="a2p"><command>a2p</command> translates awk to perl.</para>
  58. <indexterm zone="ch-system-perl c2ph"><primary sortas="b-c2ph">c2ph</primary></indexterm>
  59. <para id="c2ph"><command>c2ph</command> dumps C structures as generated from
  60. "cc -g -S" stabs.</para>
  61. <indexterm zone="ch-system-perl dprofpp"><primary sortas="b-dprofpp">dprofpp</primary></indexterm>
  62. <para id="dprofpp"><command>dprofpp</command> displays perl profile data.</para>
  63. <indexterm zone="ch-system-perl en2cxs"><primary sortas="b-en2cxs">en2cxs</primary></indexterm>
  64. <para id="en2cxs"><command>en2cxs</command> builds a Perl extension for the Encode module,
  65. from either Unicode Character Mappings or Tcl Encoding Files.</para>
  66. <indexterm zone="ch-system-perl find2perl"><primary sortas="b-find2perl">find2perl</primary></indexterm>
  67. <para id="find2perl"><command>find2perl</command> translates find commands to perl.</para>
  68. <indexterm zone="ch-system-perl h2ph"><primary sortas="b-h2ph">h2ph</primary></indexterm>
  69. <para id="h2ph"><command>h2ph</command> converts .h C header files to .ph Perl header files.</para>
  70. <indexterm zone="ch-system-perl h2xs"><primary sortas="b-h2xs">h2xs</primary></indexterm>
  71. <para id="h2xs"><command>h2xs</command> converts .h C header files to Perl extensions.</para>
  72. <indexterm zone="ch-system-perl libnetcfg"><primary sortas="b-libnetcfg">libnetcfg</primary></indexterm>
  73. <para id="libnetcfg"><command>libnetcfg</command> can be used to configure the libnet.</para>
  74. <indexterm zone="ch-system-perl perl"><primary sortas="b-perl">perl</primary></indexterm>
  75. <para id="perl"><command>perl</command> combines some of the best features of C, sed,
  76. awk and sh into a single swiss-army language.</para>
  77. <indexterm zone="ch-system-perl perlbug"><primary sortas="b-perlbug">perlbug</primary></indexterm>
  78. <para id="perlbug"><command>perlbug</command> is used to generate bug reports about
  79. Perl or the modules that come with it, and mail them.</para>
  80. <indexterm zone="ch-system-perl perlcc"><primary sortas="b-perlcc">perlcc</primary></indexterm>
  81. <para id="perlcc"><command>perlcc</command> generates executables from Perl programs.</para>
  82. <indexterm zone="ch-system-perl perldoc"><primary sortas="b-perldoc">perldoc</primary></indexterm>
  83. <para id="perldoc"><command>perldoc</command> displays a piece of documentation in pod
  84. format that is embedded in the perl installation tree or in a perl script.</para>
  85. <indexterm zone="ch-system-perl perlivp"><primary sortas="b-perlivp">perlivp</primary></indexterm>
  86. <para id="perlivp"><command>perlivp</command> is the Perl Installation Verification
  87. Procedure. It can be used to verify that Perl and its libraries have been
  88. installed correctly.</para>
  89. <indexterm zone="ch-system-perl piconv"><primary sortas="b-piconv">piconv</primary></indexterm>
  90. <para id="piconv"><command>piconv</command> is a Perl version of the character encoding
  91. converter <command>iconv</command>.</para>
  92. <indexterm zone="ch-system-perl pl2pm"><primary sortas="b-pl2pm">pl2pm</primary></indexterm>
  93. <para id="pl2pm"><command>pl2pm</command> is a rough tool for converting Perl4 .pl
  94. files to Perl5 .pm modules.</para>
  95. <indexterm zone="ch-system-perl pod2html"><primary sortas="b-pod2html">pod2html</primary></indexterm>
  96. <para id="pod2html"><command>pod2html</command> converts files from pod format to HTML
  97. format.</para>
  98. <indexterm zone="ch-system-perl pod2latex"><primary sortas="b-pod2latex">pod2latex</primary></indexterm>
  99. <para id="pod2latex"><command>pod2latex</command> converts files from pod format to LaTeX
  100. format.</para>
  101. <indexterm zone="ch-system-perl pod2man"><primary sortas="b-pod2man">pod2man</primary></indexterm>
  102. <para id="pod2man"><command>pod2man</command> converts pod data to formatted *roff
  103. input.</para>
  104. <indexterm zone="ch-system-perl pod2text"><primary sortas="b-pod2text">pod2text</primary></indexterm>
  105. <para id="pod2text"><command>pod2text</command> converts pod data to formatted ASCII
  106. text.</para>
  107. <indexterm zone="ch-system-perl pod2usage"><primary sortas="b-pod2usage">pod2usage</primary></indexterm>
  108. <para id="pod2usage"><command>pod2usage</command> prints usage messages from embedded
  109. pod docs in files.</para>
  110. <indexterm zone="ch-system-perl podchecker"><primary sortas="b-podchecker">podchecker</primary></indexterm>
  111. <para id="podchecker"><command>podchecker</command> checks the syntax of pod format
  112. documentation files.</para>
  113. <indexterm zone="ch-system-perl podselect"><primary sortas="b-podselect">podselect</primary></indexterm>
  114. <para id="podselect"><command>podselect</command> displays selected sections of pod
  115. documentation.</para>
  116. <indexterm zone="ch-system-perl psed"><primary sortas="b-psed">psed</primary></indexterm>
  117. <para id="psed"><command>psed</command> is a Perl version of the stream editor
  118. <userinput>sed</userinput>.</para>
  119. <indexterm zone="ch-system-perl pstruct"><primary sortas="b-pstruct">pstruct</primary></indexterm>
  120. <para id="pstruct"><command>pstruct</command> dumps C structures as generated from
  121. "cc -g -S" stabs.</para>
  122. <indexterm zone="ch-system-perl s2p"><primary sortas="b-s2p">s2p</primary></indexterm>
  123. <para id="s2p"><command>s2p</command> translates sed to perl.</para>
  124. <indexterm zone="ch-system-perl splain"><primary sortas="b-splain">splain</primary></indexterm>
  125. <para id="splain"><command>splain</command> is used to force verbose warning
  126. diagnostics in perl.</para>
  127. <indexterm zone="ch-system-perl xsubpp"><primary sortas="b-xsubpp">xsubpp</primary></indexterm>
  128. <para id="xsubpp"><command>xsubpp</command> converts Perl XS code into C code.</para>
  129. </sect2>
  130. </sect1>