Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / amd64 / man / man1 / perlfaq2.1
CommitLineData
920dae64
AT
1.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
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
12..
13.de Sp \" Vertical space (when we can't use .PP)
14.if t .sp .5v
15.if n .sp
16..
17.de Vb \" Begin verbatim text
18.ft CW
19.nf
20.ne \\$1
21..
22.de Ve \" End verbatim text
23.ft R
24.fi
25..
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"
58..
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'
101.\}
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 \
117\{\
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
127.\}
128.rm #[ #] #H #V #F C
129.\" ========================================================================
130.\"
131.IX Title "PERLFAQ2 1"
132.TH PERLFAQ2 1 "2006-01-07" "perl v5.8.8" "Perl Programmers Reference Guide"
133.SH "NAME"
134perlfaq2 \- Obtaining and Learning about Perl ($Revision: 1.39 $, $Date: 2006/01/08 14:27:07 $)
135.SH "DESCRIPTION"
136.IX Header "DESCRIPTION"
137This section of the \s-1FAQ\s0 answers questions about where to find
138source and documentation for Perl, support, and
139related matters.
140.Sh "What machines support perl? Where do I get it?"
141.IX Subsection "What machines support perl? Where do I get it?"
142The standard release of perl (the one maintained by the perl
143development team) is distributed only in source code form. You
144can find this at http://www.cpan.org/src/latest.tar.gz , which
145is in a standard Internet format (a gzipped archive in \s-1POSIX\s0 tar format).
146.PP
147Perl builds and runs on a bewildering number of platforms. Virtually
148all known and current Unix derivatives are supported (perl's native
149platform), as are other systems like \s-1VMS\s0, \s-1DOS\s0, \s-1OS/2\s0, Windows,
150\&\s-1QNX\s0, BeOS, \s-1OS\s0 X, MPE/iX and the Amiga.
151.PP
152Binary distributions for some proprietary platforms, including
153Apple systems, can be found http://www.cpan.org/ports/ directory.
154Because these are not part of the standard distribution, they may
155and in fact do differ from the base perl port in a variety of ways.
156You'll have to check their respective release notes to see just
157what the differences are. These differences can be either positive
158(e.g. extensions for the features of the particular platform that
159are not supported in the source release of perl) or negative (e.g.
160might be based upon a less current source release of perl).
161.Sh "How can I get a binary version of perl?"
162.IX Subsection "How can I get a binary version of perl?"
163If you don't have a C compiler because your vendor for whatever
164reasons did not include one with your system, the best thing to do is
165grab a binary version of gcc from the net and use that to compile perl
166with. \s-1CPAN\s0 only has binaries for systems that are terribly hard to
167get free compilers for, not for Unix systems.
168.PP
169Some URLs that might help you are:
170.PP
171.Vb 2
172\& http://www.cpan.org/ports/
173\& http://www.perl.com/pub/language/info/software.html
174.Ve
175.PP
176Someone looking for a perl for Win16 might look to Laszlo Molnar's djgpp
177port in http://www.cpan.org/ports/#msdos , which comes with clear
178installation instructions. A simple installation guide for MS-DOS using
179Ilya Zakharevich's \s-1OS/2\s0 port is available at
180http://www.cs.ruu.nl/%7Epiet/perl5dos.html
181and similarly for Windows 3.1 at http://www.cs.ruu.nl/%7Epiet/perlwin3.html .
182.Sh "I don't have a C compiler. How can I build my own Perl interpreter?"
183.IX Subsection "I don't have a C compiler. How can I build my own Perl interpreter?"
184Since you don't have a C compiler, you're doomed and your vendor
185should be sacrificed to the Sun gods. But that doesn't help you.
186.PP
187What you need to do is get a binary version of gcc for your system
188first. Consult the Usenet FAQs for your operating system for
189information on where to get such a binary version.
190.Sh "I copied the perl binary from one machine to another, but scripts don't work."
191.IX Subsection "I copied the perl binary from one machine to another, but scripts don't work."
192That's probably because you forgot libraries, or library paths differ.
193You really should build the whole distribution on the machine it will
194eventually live on, and then type \f(CW\*(C`make install\*(C'\fR. Most other
195approaches are doomed to failure.
196.PP
197One simple way to check that things are in the right place is to print out
198the hard-coded \f(CW@INC\fR that perl looks through for libraries:
199.PP
200.Vb 1
201\& % perl -le 'print for @INC'
202.Ve
203.PP
204If this command lists any paths that don't exist on your system, then you
205may need to move the appropriate libraries to these locations, or create
206symbolic links, aliases, or shortcuts appropriately. \f(CW@INC\fR is also printed as
207part of the output of
208.PP
209.Vb 1
210\& % perl -V
211.Ve
212.PP
213You might also want to check out
214\&\*(L"How do I keep my own module/library directory?\*(R" in perlfaq8.
215.Sh "I grabbed the sources and tried to compile but gdbm/dynamic loading/malloc/linking/... failed. How do I make it work?"
216.IX Subsection "I grabbed the sources and tried to compile but gdbm/dynamic loading/malloc/linking/... failed. How do I make it work?"
217Read the \fI\s-1INSTALL\s0\fR file, which is part of the source distribution.
218It describes in detail how to cope with most idiosyncrasies that the
219Configure script can't work around for any given system or
220architecture.
221.Sh "What modules and extensions are available for Perl? What is \s-1CPAN\s0? What does CPAN/src/... mean?"
222.IX Subsection "What modules and extensions are available for Perl? What is CPAN? What does CPAN/src/... mean?"
223\&\s-1CPAN\s0 stands for Comprehensive Perl Archive Network, a ~1.2Gb archive
224replicated on nearly 200 machines all over the world. \s-1CPAN\s0 contains
225source code, non-native ports, documentation, scripts, and many
226third-party modules and extensions, designed for everything from
227commercial database interfaces to keyboard/screen control to web
228walking and \s-1CGI\s0 scripts. The master web site for \s-1CPAN\s0 is
229http://www.cpan.org/ and there is the \s-1CPAN\s0 Multiplexer at
230http://www.cpan.org/CPAN.html which will choose a mirror near you
231via \s-1DNS\s0. See http://www.perl.com/CPAN (without a slash at the
232end) for how this process works. Also, http://mirror.cpan.org/
233has a nice interface to the http://www.cpan.org/MIRRORED.BY
234mirror directory.
235.PP
236See the \s-1CPAN\s0 \s-1FAQ\s0 at http://www.cpan.org/misc/cpan\-faq.html for
237answers to the most frequently asked questions about \s-1CPAN\s0
238including how to become a mirror.
239.PP
240CPAN/path/... is a naming convention for files available on \s-1CPAN\s0
241sites. \s-1CPAN\s0 indicates the base directory of a \s-1CPAN\s0 mirror, and the
242rest of the path is the path from that directory to the file. For
243instance, if you're using ftp://ftp.funet.fi/pub/languages/perl/CPAN
244as your \s-1CPAN\s0 site, the file CPAN/misc/japh is downloadable as
245ftp://ftp.funet.fi/pub/languages/perl/CPAN/misc/japh .
246.PP
247Considering that there are close to two thousand existing modules in
248the archive, one probably exists to do nearly anything you can think of.
249Current categories under CPAN/modules/by\-category/ include Perl core
250modules; development support; operating system interfaces; networking,
251devices, and interprocess communication; data type utilities; database
252interfaces; user interfaces; interfaces to other languages; filenames,
253file systems, and file locking; internationalization and locale; world
254wide web support; server and daemon utilities; archiving and
255compression; image manipulation; mail and news; control flow
256utilities; filehandle and I/O; Microsoft Windows modules; and
257miscellaneous modules.
258.PP
259See http://www.cpan.org/modules/00modlist.long.html or
260http://search.cpan.org/ for a more complete list of modules by category.
261.PP
262\&\s-1CPAN\s0 is not affiliated with O'Reilly Media.
263.Sh "Is there an \s-1ISO\s0 or \s-1ANSI\s0 certified version of Perl?"
264.IX Subsection "Is there an ISO or ANSI certified version of Perl?"
265Certainly not. Larry expects that he'll be certified before Perl is.
266.Sh "Where can I get information on Perl?"
267.IX Subsection "Where can I get information on Perl?"
268The complete Perl documentation is available with the Perl distribution.
269If you have Perl installed locally, you probably have the documentation
270installed as well: type \f(CW\*(C`man perl\*(C'\fR if you're on a system resembling Unix.
271This will lead you to other important man pages, including how to set your
272\&\f(CW$MANPATH\fR. If you're not on a Unix system, access to the documentation
273will be different; for example, documentation might only be in \s-1HTML\s0 format. All
274proper perl installations have fully-accessible documentation.
275.PP
276You might also try \f(CW\*(C`perldoc perl\*(C'\fR in case your system doesn't
277have a proper man command, or it's been misinstalled. If that doesn't
278work, try looking in /usr/local/lib/perl5/pod for documentation.
279.PP
280If all else fails, consult http://perldoc.perl.org/ which has the
281complete documentation in \s-1HTML\s0 and \s-1PDF\s0 format.
282.PP
283Many good books have been written about Perl\*(--see the section below
284for more details.
285.PP
286Tutorial documents are included in current or upcoming Perl releases
287include perltoot for objects or perlboot for a beginner's
288approach to objects, perlopentut for file opening semantics,
289perlreftut for managing references, perlretut for regular
290expressions, perlthrtut for threads, perldebtut for debugging,
291and perlxstut for linking C and Perl together. There may be more
292by the time you read this. These URLs might also be useful:
293.PP
294.Vb 2
295\& http://perldoc.perl.org/
296\& http://bookmarks.cpan.org/search.cgi?cat=Training%2FTutorials
297.Ve
298.Sh "What are the Perl newsgroups on Usenet? Where do I post questions?"
299.IX Subsection "What are the Perl newsgroups on Usenet? Where do I post questions?"
300Several groups devoted to the Perl language are on Usenet:
301.PP
302.Vb 5
303\& comp.lang.perl.announce Moderated announcement group
304\& comp.lang.perl.misc High traffic general Perl discussion
305\& comp.lang.perl.moderated Moderated discussion group
306\& comp.lang.perl.modules Use and development of Perl modules
307\& comp.lang.perl.tk Using Tk (and X) from Perl
308.Ve
309.PP
310.Vb 1
311\& comp.infosystems.www.authoring.cgi Writing CGI scripts for the Web.
312.Ve
313.PP
314Some years ago, comp.lang.perl was divided into those groups, and
315comp.lang.perl itself officially removed. While that group may still
316be found on some news servers, it is unwise to use it, because
317postings there will not appear on news servers which honour the
318official list of group names. Use comp.lang.perl.misc for topics
319which do not have a more-appropriate specific group.
320.PP
321There is also a Usenet gateway to Perl mailing lists sponsored by
322perl.org at nntp://nntp.perl.org , a web interface to the same lists
323at http://nntp.perl.org/group/ and these lists are also available
324under the \f(CW\*(C`perl.*\*(C'\fR hierarchy at http://groups.google.com . Other
325groups are listed at http://lists.perl.org/ ( also known as
326http://lists.cpan.org/ ).
327.PP
328A nice place to ask questions is the PerlMonks site,
329http://www.perlmonks.org/ , or the Perl Beginners mailing list
330http://lists.perl.org/showlist.cgi?name=beginners .
331.PP
332Note that none of the above are supposed to write your code for you:
333asking questions about particular problems or general advice is fine,
334but asking someone to write your code for free is not very cool.
335.Sh "Where should I post source code?"
336.IX Subsection "Where should I post source code?"
337You should post source code to whichever group is most appropriate, but
338feel free to cross-post to comp.lang.perl.misc. If you want to cross-post
339to alt.sources, please make sure it follows their posting standards,
340including setting the Followup-To header line to \s-1NOT\s0 include alt.sources;
341see their \s-1FAQ\s0 ( http://www.faqs.org/faqs/alt\-sources\-intro/ ) for details.
342.PP
343If you're just looking for software, first use Google
344( http://www.google.com ), Google's usenet search interface
345( http://groups.google.com ), and \s-1CPAN\s0 Search ( http://search.cpan.org ).
346This is faster and more productive than just posting a request.
347.Sh "Perl Books"
348.IX Subsection "Perl Books"
349A number of books on Perl and/or \s-1CGI\s0 programming are available. A few
350of these are good, some are \s-1OK\s0, but many aren't worth your money.
351There is a list of these books, some with extensive reviews, at
352http://books.perl.org/ . If you don't see your book listed here, you
353can write to perlfaq\-workers@perl.org .
354.PP
355The incontestably definitive reference book on Perl, written by
356the creator of Perl, is Programming Perl:
357.PP
358.Vb 5
359\& Programming Perl (the "Camel Book"):
360\& by Larry Wall, Tom Christiansen, and Jon Orwant
361\& ISBN 0-596-00027-8 [3rd edition July 2000]
362\& http://www.oreilly.com/catalog/pperl3/
363\& (English, translations to several languages are also available)
364.Ve
365.PP
366The companion volume to the Camel containing thousands
367of real-world examples, mini\-tutorials, and complete programs is:
368.PP
369.Vb 5
370\& The Perl Cookbook (the "Ram Book"):
371\& by Tom Christiansen and Nathan Torkington,
372\& with Foreword by Larry Wall
373\& ISBN 0-596-00313-7 [2nd Edition August 2003]
374\& http://www.oreilly.com/catalog/perlckbk2/
375.Ve
376.PP
377If you're already a seasoned programmer, then the Camel Book might
378suffice for you to learn Perl. If you're not, check out the
379Llama book:
380.PP
381.Vb 4
382\& Learning Perl
383\& by Randal L. Schwartz, Tom Phoenix, and brian d foy
384\& ISBN 0-596-10105-8 [4th edition July 2005]
385\& http://www.oreilly.com/catalog/learnperl4/
386.Ve
387.PP
388And for more advanced information on writing larger programs,
389presented in the same style as the Llama book, continue your education
390with the Alpaca book:
391.PP
392.Vb 4
393\& Learning Perl Objects, References, and Modules (the "Alpaca Book")
394\& by Randal L. Schwartz, with Tom Phoenix (foreword by Damian Conway)
395\& ISBN 0-596-00478-8 [1st edition June 2003]
396\& http://www.oreilly.com/catalog/lrnperlorm/
397.Ve
398.PP
399If you're not an accidental programmer, but a more serious and
400possibly even degreed computer scientist who doesn't need as much
401hand-holding as we try to provide in the Llama, please check out the
402delightful book
403.PP
404.Vb 5
405\& Perl: The Programmer's Companion
406\& by Nigel Chapman
407\& ISBN 0-471-97563-X [1997, 3rd printing Spring 1998]
408\& http://www.wiley.com/compbooks/catalog/97563-X.htm
409\& http://www.wiley.com/compbooks/chapman/perl/perltpc.html (errata etc)
410.Ve
411.PP
412If you are more at home in Windows the following is available
413(though unfortunately rather dated).
414.PP
415.Vb 5
416\& Learning Perl on Win32 Systems (the "Gecko Book")
417\& by Randal L. Schwartz, Erik Olson, and Tom Christiansen,
418\& with foreword by Larry Wall
419\& ISBN 1-56592-324-3 [1st edition August 1997]
420\& http://www.oreilly.com/catalog/lperlwin/
421.Ve
422.PP
423Addison-Wesley ( http://www.awlonline.com/ ) and Manning
424( http://www.manning.com/ ) are also publishers of some fine Perl books
425such as \fIObject Oriented Programming with Perl\fR by Damian Conway and
426\&\fINetwork Programming with Perl\fR by Lincoln Stein.
427.PP
428An excellent technical book discounter is Bookpool at
429http://www.bookpool.com/ where a 30% discount or more is not unusual.
430.PP
431What follows is a list of the books that the \s-1FAQ\s0 authors found personally
432useful. Your mileage may (but, we hope, probably won't) vary.
433.PP
434Recommended books on (or mostly on) Perl follow.
435.IP "References" 4
436.IX Item "References"
437.Vb 4
438\& Programming Perl
439\& by Larry Wall, Tom Christiansen, and Jon Orwant
440\& ISBN 0-596-00027-8 [3rd edition July 2000]
441\& http://www.oreilly.com/catalog/pperl3/
442.Ve
443.Sp
444.Vb 4
445\& Perl 5 Pocket Reference
446\& by Johan Vromans
447\& ISBN 0-596-00032-4 [3rd edition May 2000]
448\& http://www.oreilly.com/catalog/perlpr3/
449.Ve
450.IP "Tutorials" 4
451.IX Item "Tutorials"
452.Vb 4
453\& Beginning Perl
454\& by James Lee
455\& ISBN 1-59059-391-X [2nd edition August 2004]
456\& http://apress.com/book/bookDisplay.html?bID=344
457.Ve
458.Sp
459.Vb 4
460\& Elements of Programming with Perl
461\& by Andrew L. Johnson
462\& ISBN 1-884777-80-5 [1st edition October 1999]
463\& http://www.manning.com/Johnson/
464.Ve
465.Sp
466.Vb 4
467\& Learning Perl
468\& by Randal L. Schwartz, Tom Phoenix, and brian d foy
469\& ISBN 0-596-10105-8 [4th edition July 2005]
470\& http://www.oreilly.com/catalog/learnperl4/
471.Ve
472.Sp
473.Vb 4
474\& Learning Perl Objects, References, and Modules
475\& by Randal L. Schwartz, with Tom Phoenix (foreword by Damian Conway)
476\& ISBN 0-596-00478-8 [1st edition June 2003]
477\& http://www.oreilly.com/catalog/lrnperlorm/
478.Ve
479.IP "Task-Oriented" 4
480.IX Item "Task-Oriented"
481.Vb 4
482\& Writing Perl Modules for CPAN
483\& by Sam Tregar
484\& ISBN 1-59059-018-X [1st edition Aug 2002]
485\& http://apress.com/book/bookDisplay.html?bID=14
486.Ve
487.Sp
488.Vb 5
489\& The Perl Cookbook
490\& by Tom Christiansen and Nathan Torkington
491\& with foreword by Larry Wall
492\& ISBN 1-56592-243-3 [1st edition August 1998]
493\& http://www.oreilly.com/catalog/cookbook/
494.Ve
495.Sp
496.Vb 4
497\& Effective Perl Programming
498\& by Joseph Hall
499\& ISBN 0-201-41975-0 [1st edition 1998]
500\& http://www.awl.com/
501.Ve
502.Sp
503.Vb 4
504\& Real World SQL Server Administration with Perl
505\& by Linchi Shea
506\& ISBN 1-59059-097-X [1st edition July 2003]
507\& http://apress.com/book/bookDisplay.html?bID=171
508.Ve
509.IP "Special Topics" 4
510.IX Item "Special Topics"
511.Vb 4
512\& Perl Best Practices
513\& by Damian Conway
514\& ISBN: 0-596-00173-8 [1st edition July 2005]
515\& http://www.oreilly.com/catalog/perlbp/
516.Ve
517.Sp
518.Vb 4
519\& Higher Order Perl
520\& by Mark-Jason Dominus
521\& ISBN: 1558607013 [1st edition March 2005]
522\& http://hop.perl.plover.com/
523.Ve
524.Sp
525.Vb 4
526\& Perl 6 Now: The Core Ideas Illustrated with Perl 5
527\& by Scott Walters
528\& ISBN 1-59059-395-2 [1st edition December 2004]
529\& http://apress.com/book/bookDisplay.html?bID=355
530.Ve
531.Sp
532.Vb 4
533\& Mastering Regular Expressions
534\& by Jeffrey E. F. Friedl
535\& ISBN 0-596-00289-0 [2nd edition July 2002]
536\& http://www.oreilly.com/catalog/regex2/
537.Ve
538.Sp
539.Vb 4
540\& Network Programming with Perl
541\& by Lincoln Stein
542\& ISBN 0-201-61571-1 [1st edition 2001]
543\& http://www.awlonline.com/
544.Ve
545.Sp
546.Vb 5
547\& Object Oriented Perl
548\& Damian Conway
549\& with foreword by Randal L. Schwartz
550\& ISBN 1-884777-79-1 [1st edition August 1999]
551\& http://www.manning.com/Conway/
552.Ve
553.Sp
554.Vb 4
555\& Data Munging with Perl
556\& Dave Cross
557\& ISBN 1-930110-00-6 [1st edition 2001]
558\& http://www.manning.com/cross
559.Ve
560.Sp
561.Vb 4
562\& Mastering Perl/Tk
563\& by Steve Lidie and Nancy Walsh
564\& ISBN 1-56592-716-8 [1st edition January 2002]
565\& http://www.oreilly.com/catalog/mastperltk/
566.Ve
567.Sp
568.Vb 4
569\& Extending and Embedding Perl
570\& by Tim Jenness and Simon Cozens
571\& ISBN 1-930110-82-0 [1st edition August 2002]
572\& http://www.manning.com/jenness
573.Ve
574.Sp
575.Vb 4
576\& Perl Debugger Pocket Reference
577\& by Richard Foley
578\& ISBN 0-596-00503-2 [1st edition January 2004]
579\& http://www.oreilly.com/catalog/perldebugpr/
580.Ve
581.Sh "Which magazines have Perl content?"
582.IX Subsection "Which magazines have Perl content?"
583The first (and for a long time, only) periodical devoted to All Things Perl,
584\&\fIThe Perl Journal\fR contains tutorials, demonstrations, case studies,
585announcements, contests, and much more. \fI\s-1TPJ\s0\fR has columns on web
586development, databases, Win32 Perl, graphical programming, regular
587expressions, and networking, and sponsors the Obfuscated Perl Contest
588and the Perl Poetry Contests. Beginning in November 2002, \s-1TPJ\s0 moved to a
589reader-supported monthly e\-zine format in which subscribers can download
590issues as \s-1PDF\s0 documents. For more details on \s-1TPJ\s0, see http://www.tpj.com/
591.PP
592Beyond this, magazines that frequently carry quality articles on
593Perl are \fIThe Perl Review\fR ( http://www.theperlreview.com ),
594\&\fIUnix Review\fR ( http://www.unixreview.com/ ),
595\&\fILinux Magazine\fR ( http://www.linuxmagazine.com/ ),
596and Usenix's newsletter/magazine to its members, \fIlogin:\fR
597( http://www.usenix.org/ )
598.PP
599The Perl columns of Randal L. Schwartz are available on the web at
600http://www.stonehenge.com/merlyn/WebTechniques/ ,
601http://www.stonehenge.com/merlyn/UnixReview/ , and
602http://www.stonehenge.com/merlyn/LinuxMag/ .
603.Sh "What mailing lists are there for Perl?"
604.IX Subsection "What mailing lists are there for Perl?"
605Most of the major modules (Tk, \s-1CGI\s0, libwww\-perl) have their own
606mailing lists. Consult the documentation that came with the module for
607subscription information.
608.PP
609A comprehensive list of Perl related mailing lists can be found at:
610.PP
611.Vb 1
612\& http://lists.perl.org/
613.Ve
614.Sh "Where are the archives for comp.lang.perl.misc?"
615.IX Subsection "Where are the archives for comp.lang.perl.misc?"
616The Google search engine now carries archived and searchable newsgroup
617content.
618.PP
619http://groups.google.com/groups?group=comp.lang.perl.misc
620.PP
621If you have a question, you can be sure someone has already asked the
622same question at some point on c.l.p.m. It requires some time and patience
623to sift through all the content but often you will find the answer you
624seek.
625.Sh "Where can I buy a commercial version of perl?"
626.IX Subsection "Where can I buy a commercial version of perl?"
627In a real sense, perl already \fIis\fR commercial software: it has a license
628that you can grab and carefully read to your manager. It is distributed
629in releases and comes in well-defined packages. There is a very large
630user community and an extensive literature. The comp.lang.perl.*
631newsgroups and several of the mailing lists provide free answers to your
632questions in near real\-time. Perl has traditionally been supported by
633Larry, scores of software designers and developers, and myriad
634programmers, all working for free to create a useful thing to make life
635better for everyone.
636.PP
637However, these answers may not suffice for managers who require a
638purchase order from a company whom they can sue should anything go awry.
639Or maybe they need very serious hand-holding and contractual obligations.
640Shrink-wrapped CDs with perl on them are available from several sources if
641that will help. For example, many Perl books include a distribution of perl,
642as do the O'Reilly Perl Resource Kits (in both the Unix flavor
643and in the proprietary Microsoft flavor); the free Unix distributions
644also all come with perl.
645.Sh "Where do I send bug reports?"
646.IX Subsection "Where do I send bug reports?"
647If you are reporting a bug in the perl interpreter or the modules
648shipped with Perl, use the \fIperlbug\fR program in the Perl distribution or
649mail your report to perlbug@perl.org or at http://rt.perl.org/perlbug/ .
650.PP
651For Perl modules, you can submit bug reports to the Request Tracker set
652up at http://rt.cpan.org .
653.PP
654If you are posting a bug with a non-standard port (see the answer to
655\&\*(L"What platforms is perl available for?\*(R"), a binary distribution, or a
656non-standard module (such as Tk, \s-1CGI\s0, etc), then please see the
657documentation that came with it to determine the correct place to post
658bugs.
659.PP
660Read the \fIperlbug\fR\|(1) man page (perl5.004 or later) for more information.
661.Sh "What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org?"
662.IX Subsection "What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org?"
663Perl.com at http://www.perl.com/ is part of the O'Reilly Network, a
664subsidiary of O'Reilly Media.
665.PP
666The Perl Foundation is an advocacy organization for the Perl language
667which maintains the web site http://www.perl.org/ as a general
668advocacy site for the Perl language. It uses the domain to provide
669general support services to the Perl community, including the hosting
670of mailing lists, web sites, and other services. The web site
671http://www.perl.org/ is a general advocacy site for the Perl language,
672and there are many other sub-domains for special topics, such as
673.PP
674.Vb 4
675\& http://learn.perl.org/
676\& http://use.perl.org/
677\& http://jobs.perl.org/
678\& http://lists.perl.org/
679.Ve
680.PP
681Perl Mongers uses the pm.org domain for services related to Perl user
682groups, including the hosting of mailing lists and web sites. See the
683Perl user group web site at http://www.pm.org/ for more information about
684joining, starting, or requesting services for a Perl user group.
685.PP
686http://www.cpan.org/ is the Comprehensive Perl Archive Network,
687a replicated worldwide repository of Perl software, see
688the \fIWhat is \s-1CPAN\s0?\fR question earlier in this document.
689.SH "AUTHOR AND COPYRIGHT"
690.IX Header "AUTHOR AND COPYRIGHT"
691Copyright (c) 1997\-2006 Tom Christiansen, Nathan Torkington, and
692other authors as noted. All rights reserved.
693.PP
694This documentation is free; you can redistribute it and/or modify it
695under the same terms as Perl itself.
696.PP
697Irrespective of its distribution, all code examples here are in the public
698domain. You are permitted and encouraged to use this code and any
699derivatives thereof in your own programs for fun or for profit as you
700see fit. A simple comment in the code giving credit to the \s-1FAQ\s0 would
701be courteous but is not required.