Imported upstream version 1.5
[manpages-zh.git] / src / man1 / perlfaq2.1
blob150b7e996c296cbce468a1b054986fd412b89475
1 .\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
2 .\"
3 .\" Standard preamble:
4 .\" ========================================================================
5 .de Sh \" Subsection heading
6 .br
7 .if t .Sp
8 .ne 5
9 .PP
10 \fB\\$1\fR
11 .PP
13 .de Sp \" Vertical space (when we can't use .PP)
14 .if t .sp .5v
15 .if n .sp
17 .de Vb \" Begin verbatim text
18 .ft CW
19 .nf
20 .ne \\$1
22 .de Ve \" End verbatim text
23 .ft R
24 .fi
26 .\" Set up some character translations and predefined strings.  \*(-- will
27 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
28 .\" double quote, and \*(R" will give a right double quote.  | will give a
29 .\" real vertical bar.  \*(C+ will give a nicer C++.  Capital omega is used to
30 .\" do unbreakable dashes and therefore won't be available.  \*(C` and \*(C'
31 .\" expand to `' in nroff, nothing in troff, for use with C<>.
32 .tr \(*W-|\(bv\*(Tr
33 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
34 .ie n \{\
35 .    ds -- \(*W-
36 .    ds PI pi
37 .    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
38 .    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
39 .    ds L" ""
40 .    ds R" ""
41 .    ds C` ""
42 .    ds C' ""
43 'br\}
44 .el\{\
45 .    ds -- \|\(em\|
46 .    ds PI \(*p
47 .    ds L" ``
48 .    ds R" ''
49 'br\}
50 .\"
51 .\" If the F register is turned on, we'll generate index entries on stderr for
52 .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
53 .\" entries marked with X<> in POD.  Of course, you'll have to process the
54 .\" output yourself in some meaningful fashion.
55 .if \nF \{\
56 .    de IX
57 .    tm Index:\\$1\t\\n%\t"\\$2"
59 .    nr % 0
60 .    rr F
61 .\}
62 .\"
63 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
64 .\" way too many mistakes in technical documents.
65 .hy 0
66 .if n .na
67 .\"
68 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
69 .\" Fear.  Run.  Save yourself.  No user-serviceable parts.
70 .    \" fudge factors for nroff and troff
71 .if n \{\
72 .    ds #H 0
73 .    ds #V .8m
74 .    ds #F .3m
75 .    ds #[ \f1
76 .    ds #] \fP
77 .\}
78 .if t \{\
79 .    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
80 .    ds #V .6m
81 .    ds #F 0
82 .    ds #[ \&
83 .    ds #] \&
84 .\}
85 .    \" simple accents for nroff and troff
86 .if n \{\
87 .    ds ' \&
88 .    ds ` \&
89 .    ds ^ \&
90 .    ds , \&
91 .    ds ~ ~
92 .    ds /
93 .\}
94 .if t \{\
95 .    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
96 .    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
97 .    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
98 .    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
99 .    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
100 .    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
102 .    \" troff and (daisy-wheel) nroff accents
103 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
104 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
105 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
106 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
107 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
108 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
109 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
110 .ds ae a\h'-(\w'a'u*4/10)'e
111 .ds Ae A\h'-(\w'A'u*4/10)'E
112 .    \" corrections for vroff
113 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
114 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
115 .    \" for low resolution devices (crt and lpr)
116 .if \n(.H>23 .if \n(.V>19 \
118 .    ds : e
119 .    ds 8 ss
120 .    ds o a
121 .    ds d- d\h'-1'\(ga
122 .    ds D- D\h'-1'\(hy
123 .    ds th \o'bp'
124 .    ds Th \o'LP'
125 .    ds ae ae
126 .    ds Ae AE
128 .rm #[ #] #H #V #F C
129 .\" ========================================================================
131 .IX Title "PERLFAQ2 1"
132 .TH PERLFAQ2 1 "2003-11-25" "perl v5.8.3" "Perl Programmers Reference Guide"
133 .SH "NAME"
134 perlfaq2 \- 获取和学习 Perl (2003/10/16 04:57:38)
135 .SH "DESCRIPTION 描述"
136 .IX Header "DESCRIPTION"
137 从哪里寻找 Perl 的源程序和文档,支持以及相关事项
138 .Sh "哪些平台上有 Perl?要到哪里去找?"
139 .IX Subsection "What machines support Perl?  Where do I get it?"
140 Perl的标准发行版(由 perl发展小组负责维护)仅以原始码形式发行。您可在 http://www.perl.com/CPAN/src/latest.tar.gz处取得。这个档案的格式是 POSIX tar档案柜,再以 gzip格式压缩。
142 Perl 可以在难以记数的平台上运行。几乎所有已知的 Unix 衍生版本都被支持 (Perl 的本地平台),还有其他操作系统平台,类似 \s-1VMS\s0, \s-1DOS\s0, \s-1OS/2\s0, Windows,
143 \&\s-1QNX\s0, BeOS, \s-1OS\s0 X, MPE/iX 和 Amiga.
145 为专有平台准备的二进制发行版,包括 Apple,可以从 http://www.cpan.org/ports/ 找到。因为它们不是标准发行的一部分,它们可能(事实上的确)和基本的 Perl有多方面的不同。要确切知道到底哪些地方不同,您得自行查阅它们各自的发行说明。这些差异可能是正面的(譬如它们可能附有一些原始码发行的 perl所没有的延伸,提供专属某一平台的特殊功能),亦或负面的(例如它们可能是植基於比较老旧的 Perl原始码发行 版)。
146 .Sh "要如何取得以二进制形式发行的 Perl?"
147 .IX Subsection "How can I get a binary version of Perl?"
148 不管为什麽您的作业系统业者没有将 C编译器附在所卖的作业系统中,最好的方法是到网路上去抓一份 gcc的执行档,然後用它来编译 perl 。 CPAN 上所放的 gcc执行档仅专门提供几个特别难拿到免费编译器的平台,而不是给任何 Unix系 统的。
150 一些 URLs 可能有用:
152 .Vb 2
153 \&    http://www.cpan.org/ports/
154 \&    http://www.perl.com/pub/language/info/software.html
157 Someone looking for a Perl for Win16 might look to Laszlo Molnar's djgpp
158 port in http://www.cpan.org/ports/#msdos , which comes with clear
159 installation instructions.  A simple installation guide for MS-DOS using
160 Ilya Zakharevich's \s-1OS/2\s0 port is available at
161 http://www.cs.ruu.nl/%7Epiet/perl5dos.html
162 and similarly for Windows 3.1 at http://www.cs.ruu.nl/%7Epiet/perlwin3.html .
163 .Sh "我的系统里没有 C编译器。要如何编译 perl?"
164 .IX Subsection "I don't have a C compiler on my system.  How can I compile perl?"
165 因为您没有 C 编译器,您是没指望了,而您的经销商则该拿去当作祭拜 Sun god 的供品。不过说这些风凉话无济於事。
167 您首先需要做的是替您的系统找一个 gcc的执行档。参阅和您的作业系统相关的 各 Usenet FAQs,看到哪里可以找到这种作业系统的 gcc执行档 。
168 .Sh "我直接将 Perl的执行档从一台机器上复制到另一台机器上,但是程式跑不起来。"
169 .IX Subsection "I copied the Perl binary from one machine to another, but scripts don't work."
170 那大概是您忘了复制程式库,或者是程式库的路径不同的关系。您真的应该在那台要安装 perl的机器上将整套发行从头编译,然後打 make install来安装。其他的方法大多注定要失败。
172 有一个简单的方法可用来检查和确定东西有没有装对地方 --把编入 perl的 @INC阵列(perl用它来寻找程式库的路径)印出:
174 .Vb 1
175 \&    % perl -le 'print for @INC'
178 如果这个指令列出了任何在您系统上不存在的路径,那麽您或许得将适当的程式库移到这些地方,或者制做适当的 symlinks、aliases 或捷径。\f(CW@INC\fR 也作为命令
180 .Vb 1
181 \&    % perl -V
184 的输出。你也许会想看看
185 \&\*(L"How do I keep my own module/library directory?\*(R" in perlfaq8.
186 .Sh "我抓回了原始码,试着编译 perl,但是 gdbm/dynamic  loading/malloc/linking/...部分失败。要如何将它搞定?"
187 .IX Subsection "I grabbed the sources and tried to compile but gdbm/dynamic loading/malloc/linking/... failed.  How do I make it work?"
188 细读 INSTALL这个档案,这是原始码发行版里面的一个档案。有时候自动设定程式 (Configure) 对某些较不寻常的系统、平台特质、或变异会不知所措。该档案对该如何处这类的问题,大都有详细的说明。
189 .Sh "Perl有哪些模组和延伸? CPAN是什麽? CPAN/src/...又代表什麽?"
190 .IX Subsection "What modules and extensions are available for Perl?  What is CPAN?  What does CPAN/src/... mean?"
191 CPAN代表的是「大 Perl档案库网络」(Comprehensive Perl Archive Network),一个在全世界近200台机器之间相互映射的巨大档案库。CPAN包含了原始码、对各非原生系统的移植、使用说明、程式,以及许多由第叁类团体所写的模组和延伸,从各商业品牌的资料库介面、到键盘/萤幕控制,乃至全球资讯网漫游及 CGI程式皆一应具全。CPAN的总主机是http://www.cpan.org/ ,但您也可以透过这个位址: http://www.cpan.org/CPAN.html 来自动连接一个在地理位置上最接近您的站。至於这个设计的运作原理,请看 http://www.perl.com/CPAN(最後头没有斜线)的说明。同时,http://mirror.cpan.org/ 也提供了 http://www.cpan.org/MIRRORED 的方便的界面
193 参见 \s-1CPAN\s0 \s-1FAQ\s0 位于 http://www.cpan.org/misc/cpan\-faq.html 来获得有关  \s-1CPAN\s0 的 FAQ,包括如何成为一个镜像站
195 CPAN/path/... 是 CPAN站台上头的档案的命名规范。CPAN 代表一个 CPAN映射的基准目录,然後其馀的路径是由该目录到一个档案的路径。例如,如果您使用 ftp://ftp.funet.fi/pub/languages/perl/CPAN 来做您的 CPAN 站,那麽 CPAN/misc/japh这个档案便可以从 ftp://ftp.funet.fi/pub/languages/perl/CPAN/misc/japh 下载到
197 由於目前 CPAN档案库中已经有近两千个模组,因此几乎任何您所能想到的用途,大概都已经有现成的模组可以办到。目前在 CPAN/modules/by-category/ 底下的类 别包括了 perl核心模组、协助发展模组、作业系统介面、网路、周边设备、不同 processes间之沟通、资料型态工具、资料库介面、使用者介面、与其他语言介面、档名、档案系统、档案锁定、软体国际化及地方化、全球资讯网支援、伺服软体工具、档案库和档案压缩、图形变换处理、电子邮件及新闻讨论群、程式流程控制工具、filehandles和输入/输出、微软视窗模组,以及杂项模组 等。
199 参见 http://www.cpan.org/modules/00modlist.long.html 或 http://search.cpan.org/ 来阅读分类的模块完整列表。
201 \&\s-1CPAN\s0 不是 O'Reilly and Associates 的附属品.
202 .Sh "是不是有一个经 ISO【国际标准局】或 ANSI【美国国家标准局】认可的 Perl版本?"
203 .IX Subsection "Is there an ISO or ANSI certified version of Perl?"
204 当然没有。Larry认为他得先被认可後然後才会轮到 Perl 。
205 .Sh "Perl的相关资料要上哪儿找?"
206 .IX Subsection "Where can I get information on Perl?"
207 perl的发行版中都附有完整的使用说明中。如果 perl已安装在您的机器上,那麽使用说明应该也已经装在上头了:如果您用的是一个像 Unix的系统,您可以打 man perl。这同时会带领您到其他重要的使用说明页。如果您用的不是 Unix 式的系统,那麽查阅使用说明的方法会有所不同;譬如说,使用说明可能会以HTML 格式来存放。不管怎麽样,只要 perl正确地安装,查阅使用说明应该不成问题。
209 如果您的系统没有 man这个指令,或者是该指令安装不当,那麽您可以试试 perldoc perl。如果还不成,您可以在 /usr/local/lib/perl5/pod这个目录 下找使用说明。
211 如果以上的方法全失败,那麽您可求助於 http://perldoc.cpan.org/ 或 http://www.perldoc.com/ 都提供了完整的 html 格式的帮助
213 面上有许多本和 Perl有关的好书,详情请见下面一节的介绍。
215 Tutorial documents are included in current or upcoming Perl releases
216 include perltoot for objects or perlboot for a beginner's
217 approach to objects, perlopentut for file opening semantics,
218 perlreftut for managing references, perlretut for regular
219 expressions, perlthrtut for threads, perldebtut for debugging,
220 and perlxstut for linking C and Perl together.  There may be more
221 by the time you read this.  The following URLs might also be of
222 assistance:
224 .Vb 3
225 \&    http://perldoc.cpan.org/
226 \&    http://www.perldoc.com/
227 \&    http://bookmarks.cpan.org/search.cgi?cat=Training%2FTutorials
229 .Sh "USENET上有哪些专门讨论 Perl的新闻讨论群?问题该投到哪里?"
230 .IX Subsection "What are the Perl newsgroups on Usenet?  Where do I post questions?"
231 Usenet 中有多个新闻组与 Perl 语言相关:
233 .Vb 5
234 \&    comp.lang.perl.announce             Moderated announcement group
235 \&    comp.lang.perl.misc                 High traffic general Perl discussion
236 \&    comp.lang.perl.moderated        Moderated discussion group
237 \&    comp.lang.perl.modules              Use and development of Perl modules
238 \&    comp.lang.perl.tk                   Using Tk (and X) from Perl
241 .Vb 1
242 \&    comp.infosystems.www.authoring.cgi  Writing CGI scripts for the Web.
245 Some years ago, comp.lang.perl was divided into those groups, and
246 comp.lang.perl itself officially removed.  While that group may still
247 be found on some news servers, it is unwise to use it, because
248 postings there will not appear on news servers which honour the
249 official list of group names.  Use comp.lang.perl.misc for topics
250 which do not have a more-appropriate specific group.
252 There is also a Usenet gateway to Perl mailing lists sponsored by
253 perl.org at nntp://nntp.perl.org , a web interface to the same lists
254 at http://nntp.perl.org/group/ and these lists are also available
255 under the \f(CW\*(C`perl.*\*(C'\fR hierarchy at http://groups.google.com . Other
256 groups are listed at http://lists.perl.org/ ( also known as
257 http://lists.cpan.org/ ).
259 A nice place to ask questions is the PerlMonks site, 
260 http://www.perlmonks.org/ , or the Perl Beginners mailing list
261 http://lists.perl.org/showlist.cgi?name=beginners .
263 Note that none of the above are supposed to write your code for you:
264 asking questions about particular problems or general advice is fine,
265 but asking someone to write your code for free is not very cool.
266 .Sh "如果我想投程式原始码,该投到哪个板子上?"
267 .IX Subsection "Where should I post source code?"
268 您应看程式的性质来决定该丢到哪个板子上,但也欢迎您交叉投递一份到 comp.lang.perl.misc上头去。如果您打算交叉投递到 alt.sources 的话,请务必遵照该板所规定的标准,包括标头的 Followup-To 栏不可将 alt.sources 列入; 详见该板的 FAQ 。
270 If you're just looking for software, first use Google
271 ( http://www.google.com ), Google's usenet search interface
272 ( http://groups.google.com ),  and \s-1CPAN\s0 Search ( http://search.cpan.org ).
273 This is faster and more productive than just posting a request.
274 .Sh "Perl 书籍"
275 .IX Subsection "Perl Books"
276 市面上有许多有关 Perl 和/或 CGI程式设计的书。其中有些很好,有些还过得去,但也有不少根本不值得买。大部分的 Perl书都列在 Tom Christiansen 所维护的列表中,其中一些有详细的评论,位于 http://www.perl.com/perl/critiques/index.html .
278 毫无争议地,最权威的 Perl参考书要数以下这本,由 Perl的创始者著作,现在是第三版 (July 2000):
280 .Vb 5
281 \&    Programming Perl (the "Camel Book"):
282 \&        by Larry Wall, Tom Christiansen, and Jon Orwant
283 \&        0-596-00027-8  [3rd edition July 2000]
284 \&        http://www.oreilly.com/catalog/pperl3/
285 \&    (English, translations to several languages are also available)
288 The companion volume to the Camel containing thousands
289 of real-world examples, mini\-tutorials, and complete programs is:
291 .Vb 5
292 \&    The Perl Cookbook (the "Ram Book"):
293 \&        by Tom Christiansen and Nathan Torkington,
294 \&            with Foreword by Larry Wall
295 \&        ISBN 1-56592-243-3 [1st Edition August 1998]
296 \&        http://perl.oreilly.com/catalog/cookbook/
299 If you're already a seasoned programmer, then the Camel Book might
300 suffice for you to learn Perl from.  If you're not, check out the
301 Llama book:
303 .Vb 4
304 \&    Learning Perl (the "Llama Book")
305 \&        by Randal L. Schwartz and Tom Phoenix
306 \&        ISBN 0-596-00132-0 [3rd edition July 2001]
307 \&        http://www.oreilly.com/catalog/lperl3/
310 And for more advanced information on writing larger programs,
311 presented in the same style as the Llama book, continue your education
312 with the Alpaca book:
314 .Vb 4
315 \&    Learning Perl Objects, References, and Modules (the "Alpaca Book")
316 \&       by Randal L. Schwartz, with Tom Phoenix (foreword by Damian Conway)
317 \&       ISBN 0-596-00478-8 [1st edition June 2003]
318 \&       http://www.oreilly.com/catalog/lrnperlorm/
321 If you're not an accidental programmer, but a more serious and
322 possibly even degreed computer scientist who doesn't need as much
323 hand-holding as we try to provide in the Llama, please check out the
324 delightful book
326 .Vb 5
327 \&    Perl: The Programmer's Companion
328 \&        by Nigel Chapman
329 \&        ISBN 0-471-97563-X [1997, 3rd printing Spring 1998]
330 \&        http://www.wiley.com/compbooks/catalog/97563-X.htm
331 \&        http://www.wiley.com/compbooks/chapman/perl/perltpc.html (errata etc)
334 If you are more at home in Windows the following is available
335 (though unfortunately rather dated).
337 .Vb 5
338 \&    Learning Perl on Win32 Systems (the "Gecko Book")
339 \&        by Randal L. Schwartz, Erik Olson, and Tom Christiansen,
340 \&            with foreword by Larry Wall
341 \&        ISBN 1-56592-324-3 [1st edition August 1997]
342 \&        http://www.oreilly.com/catalog/lperlwin/
345 Addison-Wesley ( http://www.awlonline.com/ ) and Manning
346 ( http://www.manning.com/ ) are also publishers of some fine Perl books
347 such as \fIObject Oriented Programming with Perl\fR by Damian Conway and
348 \&\fINetwork Programming with Perl\fR by Lincoln Stein.
350 An excellent technical book discounter is Bookpool at
351 http://www.bookpool.com/ where a 30% discount or more is not unusual.
353 What follows is a list of the books that the \s-1FAQ\s0 authors found personally
354 useful.  Your mileage may (but, we hope, probably won't) vary.
356 Recommended books on (or mostly on) Perl follow.
357 .IP "References" 4
358 .IX Item "References"
359 .Vb 4
360 \&    Programming Perl
361 \&        by Larry Wall, Tom Christiansen, and Jon Orwant
362 \&        ISBN 0-596-00027-8 [3rd edition July 2000]
363 \&        http://www.oreilly.com/catalog/pperl3/
366 .Vb 4
367 \&    Perl 5 Pocket Reference
368 \&    by Johan Vromans
369 \&        ISBN 0-596-00032-4 [3rd edition May 2000]
370 \&        http://www.oreilly.com/catalog/perlpr3/
373 .Vb 4
374 \&    Perl in a Nutshell
375 \&    by Ellen Siever, Stephan Spainhour, and Nathan Patwardhan
376 \&        ISBN 1-56592-286-7 [1st edition December 1998]
377 \&        http://www.oreilly.com/catalog/perlnut/
379 .IP "Tutorials" 4
380 .IX Item "Tutorials"
381 .Vb 4
382 \&    Elements of Programming with Perl
383 \&        by Andrew L. Johnson
384 \&        ISBN 1-884777-80-5 [1st edition October 1999]
385 \&        http://www.manning.com/Johnson/
388 .Vb 4
389 \&    Learning Perl
390 \&        by Randal L. Schwartz and Tom Phoenix
391 \&        ISBN 0-596-00132-0 [3rd edition July 2001]
392 \&        http://www.oreilly.com/catalog/lperl3/
395 .Vb 4
396 \&    Learning Perl Objects, References, and Modules
397 \&       by Randal L. Schwartz, with Tom Phoenix (foreword by Damian Conway)
398 \&       ISBN 0-596-00478-8 [1st edition June 2003]
399 \&       http://www.oreilly.com/catalog/lrnperlorm/
402 .Vb 5
403 \&    Learning Perl on Win32 Systems
404 \&        by Randal L. Schwartz, Erik Olson, and Tom Christiansen,
405 \&            with foreword by Larry Wall
406 \&        ISBN 1-56592-324-3 [1st edition August 1997]
407 \&        http://www.oreilly.com/catalog/lperlwin/
410 .Vb 5
411 \&    Perl: The Programmer's Companion
412 \&        by Nigel Chapman
413 \&        ISBN 0-471-97563-X [1997, 3rd printing Spring 1998]
414 \&    http://www.wiley.com/compbooks/catalog/97563-X.htm
415 \&    http://www.wiley.com/compbooks/chapman/perl/perltpc.html (errata etc)
418 .Vb 4
419 \&    Cross-Platform Perl
420 \&        by Eric Foster-Johnson
421 \&        ISBN 1-55851-483-X [2nd edition September 2000]
422 \&        http://www.pconline.com/~erc/perlbook.htm
425 .Vb 5
426 \&    MacPerl: Power and Ease
427 \&        by Vicki Brown and Chris Nandor,
428 \&            with foreword by Matthias Neeracher
429 \&        ISBN 1-881957-32-2 [1st edition May 1998]
430 \&        http://www.macperl.com/ptf_book/
432 .IP "Task-Oriented" 4
433 .IX Item "Task-Oriented"
434 .Vb 5
435 \&    The Perl Cookbook
436 \&        by Tom Christiansen and Nathan Torkington
437 \&            with foreword by Larry Wall
438 \&        ISBN 1-56592-243-3 [1st edition August 1998]
439 \&        http://www.oreilly.com/catalog/cookbook/
442 .Vb 4
443 \&    Effective Perl Programming
444 \&        by Joseph Hall
445 \&        ISBN 0-201-41975-0 [1st edition 1998]
446 \&        http://www.awl.com/
448 .IP "Special Topics" 4
449 .IX Item "Special Topics"
450 .Vb 4
451 \&    Mastering Regular Expressions
452 \&        by Jeffrey E. F. Friedl
453 \&        ISBN 0-596-00289-0 [2nd edition July 2002]
454 \&        http://www.oreilly.com/catalog/regex2/
457 .Vb 4
458 \&    Network Programming with Perl
459 \&        by Lincoln Stein
460 \&        ISBN 0-201-61571-1 [1st edition 2001]
461 \&        http://www.awlonline.com/
464 .Vb 5
465 \&    Object Oriented Perl
466 \&        Damian Conway
467 \&            with foreword by Randal L. Schwartz
468 \&        ISBN 1-884777-79-1 [1st edition August 1999]
469 \&        http://www.manning.com/Conway/
472 .Vb 4
473 \&    Data Munging with Perl
474 \&        Dave Cross
475 \&        ISBN 1-930110-00-6 [1st edition 2001]
476 \&        http://www.manning.com/cross
479 .Vb 4
480 \&    Mastering Perl/Tk
481 \&        by Steve Lidie and Nancy Walsh
482 \&        ISBN 1-56592-716-8 [1st edition January 2002]
483 \&        http://www.oreilly.com/catalog/mastperltk/
486 .Vb 4
487 \&    Extending and Embedding Perl
488 \&       by Tim Jenness and Simon Cozens
489 \&       ISBN 1-930110-82-0 [1st edition August 2002]
490 \&       http://www.manning.com/jenness
492 .Sh "和 Perl 有关的杂志"
493 .IX Subsection "Perl in Magazines"
494 The first (and for a long time, only) periodical devoted to All Things Perl,
495 \&\fIThe Perl Journal\fR contains tutorials, demonstrations, case studies,
496 announcements, contests, and much more.  \fI\s-1TPJ\s0\fR has columns on web
497 development, databases, Win32 Perl, graphical programming, regular
498 expressions, and networking, and sponsors the Obfuscated Perl Contest
499 and the Perl Poetry Contests.  Beginning in November 2002, \s-1TPJ\s0 moved to a 
500 reader-supported monthly e\-zine format in which subscribers can download 
501 issues as \s-1PDF\s0 documents. For more details on \s-1TPJ\s0, see http://www.tpj.com/
503 Beyond this, magazines that frequently carry quality articles on
504 Perl are \fIThe Perl Review\fR ( http://www.theperlreview.com ),
505 \&\fIUnix Review\fR ( http://www.unixreview.com/ ),
506 \&\fILinux Magazine\fR ( http://www.linuxmagazine.com/ ),
507 and Usenix's newsletter/magazine to its members, \fIlogin:\fR
508 ( http://www.usenix.org/ )
510 The Perl columns of Randal L. Schwartz are available on the web at
511 http://www.stonehenge.com/merlyn/WebTechniques/ ,
512 http://www.stonehenge.com/merlyn/UnixReview/ , and
513 http://www.stonehenge.com/merlyn/LinuxMag/ .
514 .Sh "网路上的 Perl:接触 FTP 和 WWW"
515 .IX Subsection "Perl on the Net: FTP and WWW Access"
516 如果您想达到最好(还有最省钱)的传输效果,那麽从 http://www.cpan.org/SITES.html 所列的站台中任选其一,从上头把完整的映射站名单抓下来。然後您可以从中挑选一个对您来说传输最快的站台。.PP
517 也可以使用 xx.cpan.org ,其中 \*(L"xx\*(R" 是双字符的国家代码,例如澳大利亚可以使用 au.cpan.org. [注意:这只对至少包含了一个主机镜像的国家有效。]
518 .Sh "有哪些讨论 Perl 的邮件列表?"
519 .IX Subsection "What mailing lists are there for Perl?"
520 大部分的重要模组(如 Tk、CGI 和 libwww-perl)有专属各自的 mailing lists。有关资料请参考这些模组的使用说明。
522 完整的与 Perl 有关的邮件列表可以从这里找到:
524 .Vb 1
525 \&        http://lists.perl.org/
527 .Sh "comp.lang.perl.misc 的档案库"
528 .IX Subsection "Archives of comp.lang.perl.misc"
529 The Google search engine now carries archived and searchable newsgroup
530 content.
532 http://groups.google.com/groups?group=comp.lang.perl.misc
534 If you have a question, you can be sure someone has already asked the
535 same question at some point on c.l.p.m. It requires some time and patience
536 to sift through all the content but often you will find the answer you
537 seek.
538 .Sh "如何购买商业版本的 Perl?"
539 .IX Subsection "Where can I buy a commercial version of Perl?"
540 在某种程度上来说,Perl 已经算是商业软体了:您可以把 Perl的发行约定拿来细读给您的经理听。各发行版都附有这份条例清楚、明确的公约。Perl有广大的使用者及广泛的文献。comp.lang.perl.*等新闻讨论群组和各电子邮递论坛更是对各种疑难杂症提供迅速的解答。Perl 传统上一直是由 Larry、许多软体设计工程师,以及成千上万的程式写作者提供支援,大伙协力让人人过更美好的日子。
542 尽管如此,有些主管坚持只向附售後保证的公司下订单,这样子出了问题才可以告他们,故以上的回答可能无法令这类的经理满意。或许是这类的主管觉得亦步亦趋的扶持支援及很强的合约义务有其必要。市面上有卖用玻璃纸密封包装的 Perl 光碟,您可以试试看,或许对您的经理有效。
544 Alternatively, you can purchase commercial incidence based support
545 through the Perl Clinic.  The following is a commercial from them:
547 "The Perl Clinic is a commercial Perl support service operated by
548 ActiveState Tool Corp. and The Ingram Group.  The operators have many
549 years of in-depth experience with Perl applications and Perl internals
550 on a wide range of platforms.
552 \&\*(L"Through our group of highly experienced and well-trained support engineers,
553 we will put our best effort into understanding your problem, providing an
554 explanation of the situation, and a recommendation on how to proceed.\*(R"
556 Contact The Perl Clinic at
558 .Vb 1
559 \&    www.PerlClinic.com
562 .Vb 3
563 \&    North America Pacific Standard Time (GMT-8)
564 \&    Tel:    1 604 606-4611 hours 8am-6pm
565 \&    Fax:    1 604 606-4640
568 .Vb 3
569 \&    Europe (GMT)
570 \&    Tel:    00 44 1483 862814
571 \&    Fax:    00 44 1483 862801
574 See also www.perl.com for updates on tutorials, training, and support.
575 .Sh "如果发现 bugs要向何处报告?"
576 .IX Subsection "Where do I send bug reports?"
577 如果您发现 perl解译器或标准发行中的模组有 bugs ,想报知 perl 发布小组的 话,请使用 perl发行中所附的 perlbug 程式,或将您的报告 email 到 perlbug@perl.org .
579 如果您想报告的 bug是有关某个非标准发行的 perl(详见「哪些平台上有 Perl ?」一题的答案)、某可执行档形式的发行,或是某非标准的模组(譬如 Tk、CGI 等),那麽请参考它所附的使用说明,以确定最合适报告 bugs的地方。
581 详情请见 \fIperlbug\fR\|(1) 手册页 (perl5.004 或更新版本)。
582 .Sh "什麽是 perl.com? Perl Mongers? pm.org? perl.org? cpan.org?"
583 .IX Subsection "What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org?"
584 The Perl Home Page at http://www.perl.com/ is currently hosted by
585 The O'Reilly Network, a subsidiary of O'Reilly and Associates.
587 Perl Mongers is an advocacy organization for the Perl language which
588 maintains the web site http://www.perl.org/ as a general advocacy
589 site for the Perl language.
591 Perl Mongers uses the pm.org domain for services related to Perl user
592 groups, including the hosting of mailing lists and web sites.  See the
593 Perl user group web site at http://www.pm.org/ for more information about
594 joining, starting, or requesting services for a Perl user group.
596 Perl Mongers also maintain the perl.org domain to provide general
597 support services to the Perl community, including the hosting of mailing
598 lists, web sites, and other services.  The web site
599 http://www.perl.org/ is a general advocacy site for the Perl language,
600 and there are many other sub-domains for special topics, such as
602 .Vb 4
603 \&    http://bugs.perl.org/
604 \&    http://history.perl.org/
605 \&    http://lists.perl.org/
606 \&    http://use.perl.org/
609 http://www.cpan.org/ is the Comprehensive Perl Archive Network,
610 a replicated worlwide repository of Perl software, see
611 the \fIWhat is \s-1CPAN\s0?\fR question earlier in this document.
612 .SH "AUTHOR AND COPYRIGHT"
613 .IX Header "AUTHOR AND COPYRIGHT"
614 Copyright (c) 1997\-2001 Tom Christiansen and Nathan Torkington.
615 All rights reserved.
617 This documentation is free; you can redistribute it and/or modify it
618 under the same terms as Perl itself.
620 Irrespective of its distribution, all code examples here are in the public
621 domain.  You are permitted and encouraged to use this code and any
622 derivatives thereof in your own programs for fun or for profit as you
623 see fit.  A simple comment in the code giving credit to the \s-1FAQ\s0 would
624 be courteous but is not required.
625 .SH "译者"
626 .B 萧百龄,两只老虎工作室