perl.xml 13 KB

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