YA tweak to avoid open file conflict in io/fflush.t
[p5sagit/p5-mst-13.2.git] / pod / perlfaq2.pod
CommitLineData
68dc0745 1=head1 NAME
2
90bb42f6 3perlfaq2 - Obtaining and Learning about Perl ($Revision: 1.32 $, $Date: 1999/10/14 18:46:09 $)
68dc0745 4
5=head1 DESCRIPTION
6
7This section of the FAQ answers questions about where to find
92c2ed05 8source and documentation for Perl, support, and
68dc0745 9related matters.
10
11=head2 What machines support Perl? Where do I get it?
12
13The standard release of Perl (the one maintained by the perl
5e3006a4 14development team) is distributed only in source code form. You
c355f4f4 15can find this at http://www.cpan.org/src/latest.tar.gz , which
7ed4b849 16is in a standard Internet format (a gzipped archive in POSIX tar format).
5e3006a4 17
18Perl builds and runs on a bewildering number of platforms. Virtually
19all known and current Unix derivatives are supported (Perl's native
87275199 20platform), as are other systems like VMS, DOS, OS/2, Windows,
c355f4f4 21QNX, BeOS, OS X, MPE/iX and the Amiga.
5e3006a4 22
23Binary distributions for some proprietary platforms, including
c355f4f4 24Apple systems, can be found http://www.cpan.org/ports/ directory.
5e3006a4 25Because these are not part of the standard distribution, they may
26and in fact do differ from the base Perl port in a variety of ways.
27You'll have to check their respective release notes to see just
28what the differences are. These differences can be either positive
29(e.g. extensions for the features of the particular platform that
30are not supported in the source release of perl) or negative (e.g.
31might be based upon a less current source release of perl).
92c2ed05 32
68dc0745 33=head2 How can I get a binary version of Perl?
34
65acb1b1 35If you don't have a C compiler because your vendor for whatever
36reasons did not include one with your system, the best thing to do is
68dc0745 37grab a binary version of gcc from the net and use that to compile perl
38with. CPAN only has binaries for systems that are terribly hard to
39get free compilers for, not for Unix systems.
40
65acb1b1 41Some URLs that might help you are:
42
c355f4f4 43 http://www.cpan.org/ports/
5c5bc629 44 http://www.perl.com/pub/language/info/software.html
65acb1b1 45
87275199 46Someone looking for a Perl for Win16 might look to Laszlo Molnar's djgpp
c355f4f4 47port in http://www.cpan.org/ports/#msdos , which comes with clear
d92eb7b0 48installation instructions. A simple installation guide for MS-DOS using
87275199 49Ilya Zakharevich's OS/2 port is available at
50http://www.cs.ruu.nl/%7Epiet/perl5dos.html
51and similarly for Windows 3.1 at http://www.cs.ruu.nl/%7Epiet/perlwin3.html .
3fe9a6f1 52
53=head2 I don't have a C compiler on my system. How can I compile perl?
54
55Since you don't have a C compiler, you're doomed and your vendor
56should be sacrificed to the Sun gods. But that doesn't help you.
57
58What you need to do is get a binary version of gcc for your system
59first. Consult the Usenet FAQs for your operating system for
60information on where to get such a binary version.
61
68dc0745 62=head2 I copied the Perl binary from one machine to another, but scripts don't work.
63
64That's probably because you forgot libraries, or library paths differ.
65You really should build the whole distribution on the machine it will
66eventually live on, and then type C<make install>. Most other
67approaches are doomed to failure.
68
69One simple way to check that things are in the right place is to print out
a6dd486b 70the hard-coded @INC that perl looks through for libraries:
68dc0745 71
65acb1b1 72 % perl -e 'print join("\n",@INC)'
68dc0745 73
a6dd486b 74If this command lists any paths that don't exist on your system, then you
68dc0745 75may need to move the appropriate libraries to these locations, or create
87275199 76symbolic links, aliases, or shortcuts appropriately. @INC is also printed as
65acb1b1 77part of the output of
78
79 % perl -V
68dc0745 80
c355f4f4 81You might also want to check out
13a2d996 82L<perlfaq8/"How do I keep my own module/library directory?">.
3fe9a6f1 83
68dc0745 84=head2 I grabbed the sources and tried to compile but gdbm/dynamic loading/malloc/linking/... failed. How do I make it work?
85
86Read the F<INSTALL> file, which is part of the source distribution.
65acb1b1 87It describes in detail how to cope with most idiosyncrasies that the
68dc0745 88Configure script can't work around for any given system or
89architecture.
90
91=head2 What modules and extensions are available for Perl? What is CPAN? What does CPAN/src/... mean?
92
c355f4f4 93CPAN stands for Comprehensive Perl Archive Network, a ~700mb archive
94replicated on nearly 200 machines all over the world. CPAN contains
46fc3d4c 95source code, non-native ports, documentation, scripts, and many
68dc0745 96third-party modules and extensions, designed for everything from
97commercial database interfaces to keyboard/screen control to web
c355f4f4 98walking and CGI scripts. The master web site for CPAN is
99http://www.cpan.org/ and there is the CPAN Multiplexer at
100http://www.perl.com/CPAN/CPAN.html which will choose a mirror near you
101via DNS. See http://www.perl.com/CPAN (without a slash at the
102end) for how this process works. Also, http://mirror.cpan.org/
103has a nice interface to the http://www.cpan.org/MIRRORED.BY
104mirror directory.
105
106See the CPAN FAQ at http://www.cpan.org/misc/cpan-faq.html for
107answers to the most frequently asked questions about CPAN
108including how to become a mirror.
68dc0745 109
110CPAN/path/... is a naming convention for files available on CPAN
111sites. CPAN indicates the base directory of a CPAN mirror, and the
112rest of the path is the path from that directory to the file. For
113instance, if you're using ftp://ftp.funet.fi/pub/languages/perl/CPAN
7ed4b849 114as your CPAN site, the file CPAN/misc/japh is downloadable as
68dc0745 115ftp://ftp.funet.fi/pub/languages/perl/CPAN/misc/japh .
116
c355f4f4 117Considering that there are close to two thousand existing modules in
118the archive, one probably exists to do nearly anything you can think of.
87275199 119Current categories under CPAN/modules/by-category/ include Perl core
68dc0745 120modules; development support; operating system interfaces; networking,
121devices, and interprocess communication; data type utilities; database
122interfaces; user interfaces; interfaces to other languages; filenames,
123file systems, and file locking; internationalization and locale; world
124wide web support; server and daemon utilities; archiving and
125compression; image manipulation; mail and news; control flow
126utilities; filehandle and I/O; Microsoft Windows modules; and
127miscellaneous modules.
128
c355f4f4 129See http://www.cpan.org/modules/00modlist.long.html or
130http://search.cpan.org/ for a more complete list of modules by category.
131
132
68dc0745 133=head2 Is there an ISO or ANSI certified version of Perl?
134
135Certainly not. Larry expects that he'll be certified before Perl is.
136
137=head2 Where can I get information on Perl?
138
87275199 139The complete Perl documentation is available with the Perl distribution.
140If you have Perl installed locally, you probably have the documentation
5a964f20 141installed as well: type C<man perl> if you're on a system resembling Unix.
142This will lead you to other important man pages, including how to set your
143$MANPATH. If you're not on a Unix system, access to the documentation
a6dd486b 144will be different; for example, documentation might only be in HTML format. All
87275199 145proper Perl installations have fully-accessible documentation.
68dc0745 146
147You might also try C<perldoc perl> in case your system doesn't
148have a proper man command, or it's been misinstalled. If that doesn't
149work, try looking in /usr/local/lib/perl5/pod for documentation.
150
c355f4f4 151If all else fails, consult http://perldoc.cpan.org/ or
152http://www.perldoc.com/ both offer the complete documentation
153in html format.
68dc0745 154
a6dd486b 155Many good books have been written about Perl--see the section below
68dc0745 156for more details.
157
65acb1b1 158Tutorial documents are included in current or upcoming Perl releases
a6dd486b 159include L<perltoot> for objects or L<perlboot> for a beginner's
160approach to objects, L<perlopentut> for file opening semantics,
161L<perlreftut> for managing references, L<perlretut> for regular
162expressions, L<perlthrtut> for threads, L<perldebtut> for debugging,
163and L<perlxstut> for linking C and Perl together. There may be more
164by the time you read this. The following URLs might also be of
65acb1b1 165assistance:
166
c355f4f4 167 http://perldoc.cpan.org/
168 http://www.perldoc.com/
65acb1b1 169 http://reference.perl.com/query.cgi?tutorials
c355f4f4 170 http://bookmarks.cpan.org/search.cgi?cat=Training%2FTutorials
65acb1b1 171
87275199 172=head2 What are the Perl newsgroups on Usenet? Where do I post questions?
68dc0745 173
174The now defunct comp.lang.perl newsgroup has been superseded by the
175following groups:
176
177 comp.lang.perl.announce Moderated announcement group
178 comp.lang.perl.misc Very busy group about Perl in general
5a964f20 179 comp.lang.perl.moderated Moderated discussion group
68dc0745 180 comp.lang.perl.modules Use and development of Perl modules
181 comp.lang.perl.tk Using Tk (and X) from Perl
182
183 comp.infosystems.www.authoring.cgi Writing CGI scripts for the Web.
184
87275199 185There is also Usenet gateway to the mailing list used by the crack
68dc0745 186Perl development team (perl5-porters) at
5a964f20 187news://news.perl.com/perl.porters-gw/ .
68dc0745 188
189=head2 Where should I post source code?
190
65acb1b1 191You should post source code to whichever group is most appropriate, but
192feel free to cross-post to comp.lang.perl.misc. If you want to cross-post
193to alt.sources, please make sure it follows their posting standards,
194including setting the Followup-To header line to NOT include alt.sources;
195see their FAQ (http://www.faqs.org/faqs/alt-sources-intro/) for details.
68dc0745 196
c355f4f4 197If you're just looking for software, first use Google
198(http://www.google.com), Deja (http://www.deja.com), and
199CPAN Search (http://search.cpan.org). This is faster and more
200productive than just posting a request.
5a964f20 201
68dc0745 202=head2 Perl Books
203
7b8d334a 204A number of books on Perl and/or CGI programming are available. A few of
87275199 205these are good, some are OK, but many aren't worth your money. Tom
68dc0745 206Christiansen maintains a list of these books, some with extensive
a6dd486b 207reviews, at http://www.perl.com/perl/critiques/index.html .
68dc0745 208
5e3006a4 209The incontestably definitive reference book on Perl, written by
c2e66d9e 210the creator of Perl, is now (July 2000) in its third edition:
68dc0745 211
212 Programming Perl (the "Camel Book"):
c2e66d9e 213 by Larry Wall, Tom Christiansen, and Jon Orwant
214 0-596-00027-8 [3rd edition July 2000]
215 http://www.oreilly.com/catalog/pperl3/
216 (English, translations to several languages are also available)
68dc0745 217
5e3006a4 218The companion volume to the Camel containing thousands
c355f4f4 219of real-world examples, mini-tutorials, and complete programs is:
5e3006a4 220
221 The Perl Cookbook (the "Ram Book"):
c355f4f4 222 by Tom Christiansen and Nathan Torkington,
c2e66d9e 223 with Foreword by Larry Wall
224 ISBN 1-56592-243-3 [1st Edition August 1998]
225 http://perl.oreilly.com/cookbook/
68dc0745 226
8fc9651a 227If you're already a seasoned programmer, then the Camel Book might
228suffice for you to learn Perl from. If you're not, check out the
229Llama book:
5e3006a4 230
8fc9651a 231 Learning Perl (the "Llama Book")
232 by Randal L. Schwartz and Tom Phoenix
233 ISBN 0-596-00132-0 [3rd edition July 2001]
234 http://www.oreilly.com/catalog/lperl3/
235
236If you're not an accidental programmer, but a more serious and
237possibly even degreed computer scientist who doesn't need as much
238hand-holding as we try to provide in the Llama, please check out the
239delightful book, I<Perl: The Programmer's Companion>, written by Nigel
240Chapman.
5e3006a4 241
8fc9651a 242If you are more at home in Windows, I<Learning Perl on Win32 Systems>
243(the "Gecko Book") is available (unfortunately rather dated).
5a964f20 244
8fc9651a 245 Learning Perl on Win32 Systems
246 by Randal L. Schwartz, Erik Olson, and Tom Christiansen,
247 with foreword by Larry Wall
248 ISBN 1-56592-324-3 [1st edition August 1997]
249 http://www.oreilly.com/catalog/lperlwin/
5a964f20 250
c355f4f4 251Addison-Wesley (http://www.awlonline.com/) and Manning
252(http://www.manning.com/) are also publishers of some fine Perl books
8fc9651a 253such as I<Object Oriented Programming with Perl> by Damian Conway and
254I<Network Programming with Perl> by Lincoln Stein.
c355f4f4 255
256An excellent technical book discounter is Bookpool at
257http://www.bookpool.com/ where a 30% discount or more is not unusual.
5a964f20 258
68dc0745 259What follows is a list of the books that the FAQ authors found personally
260useful. Your mileage may (but, we hope, probably won't) vary.
261
c2e66d9e 262Recommended books on (or mostly on) Perl follow.
68dc0745 263
13a2d996 264=over 4
68dc0745 265
5a964f20 266=item References
68dc0745 267
c2e66d9e 268 Programming Perl
269 by Larry Wall, Tom Christiansen, and Jon Orwant
270 ISBN 0-596-00027-8 [3rd edition July 2000]
271 http://www.oreilly.com/catalog/pperl3/
68dc0745 272
c2e66d9e 273 Perl 5 Pocket Reference
87275199 274 by Johan Vromans
c2e66d9e 275 ISBN 0-596-00032-4 [3rd edition May 2000]
276 http://www.oreilly.com/catalog/perlpr3/
87275199 277
c2e66d9e 278 Perl in a Nutshell
87275199 279 by Ellen Siever, Stephan Spainhour, and Nathan Patwardhan
c2e66d9e 280 ISBN 1-56592-286-7 [1st edition December 1998]
281 http://www.oreilly.com/catalog/perlnut/
68dc0745 282
5a964f20 283=item Tutorials
c47ff5f1 284
c2e66d9e 285 Elements of Programming with Perl
286 by Andrew L. Johnson
287 ISBN 1884777805 [1st edition October 1999]
288 http://www.manning.com/Johnson/
289
290 Learning Perl
8fc9651a 291 by Randal L. Schwartz and Tom Phoenix
292 ISBN 0-596-00132-0 [3rd edition July 2001]
293 http://www.oreilly.com/catalog/lperl3/
68dc0745 294
c2e66d9e 295 Learning Perl on Win32 Systems
5a964f20 296 by Randal L. Schwartz, Erik Olson, and Tom Christiansen,
297 with foreword by Larry Wall
c2e66d9e 298 ISBN 1-56592-324-3 [1st edition August 1997]
299 http://www.oreilly.com/catalog/lperlwin/
68dc0745 300
5a964f20 301 Perl: The Programmer's Companion
302 by Nigel Chapman
c2e66d9e 303 ISBN 0-471-97563-X [1st edition October 1997]
304 http://catalog.wiley.com/title.cgi?isbn=047197563X
68dc0745 305
c2e66d9e 306 Cross-Platform Perl
307 by Eric Foster-Johnson
308 ISBN 1-55851-483-X [2nd edition September 2000]
309 http://www.pconline.com/~erc/perlbook.htm
68dc0745 310
c2e66d9e 311 MacPerl: Power and Ease
312 by Vicki Brown and Chris Nandor,
313 with foreword by Matthias Neeracher
314 ISBN 1-881957-32-2 [1st edition May 1998]
315 http://www.macperl.com/ptf_book/
68dc0745 316
c355f4f4 317=item Task-Oriented
5a964f20 318
c2e66d9e 319 The Perl Cookbook
5a964f20 320 by Tom Christiansen and Nathan Torkington
321 with foreword by Larry Wall
c2e66d9e 322 ISBN 1-56592-243-3 [1st edition August 1998]
323 http://www.oreilly.com/catalog/cookbook/
5a964f20 324
c355f4f4 325 Effective Perl Programming
5a964f20 326 by Joseph Hall
c2e66d9e 327 ISBN 0-201-41975-0 [1st edition 1998]
328 http://www.awl.com/
68dc0745 329
c355f4f4 330
5a964f20 331=item Special Topics
332
c2e66d9e 333 Mastering Regular Expressions
334 by Jeffrey E. F. Friedl
335 ISBN 1-56592-257-3 [1st edition January 1997]
336 http://www.oreilly.com/catalog/regex/
5a964f20 337
c355f4f4 338 Network Programming with Perl
5a964f20 339 by Lincoln Stein
c355f4f4 340 ISBN 0-201-61571-1 [1st edition 2001]
341 http://www.awlonline.com/
5a964f20 342
c2e66d9e 343 Object Oriented Perl
344 Damian Conway
345 with foreword by Randal L. Schwartz
346 ISBN 1884777791 [1st edition August 1999]
347 http://www.manning.com/Conway/
348
c355f4f4 349 Data Munging with Perl
350 Dave Cross
351 ISBN 1930110006 [1st edition 2001]
352 http://www.manning.com/cross
353
c2e66d9e 354 Learning Perl/Tk
87275199 355 by Nancy Walsh
c2e66d9e 356 ISBN 1-56592-314-6 [1st edition January 1999]
357 http://www.oreilly.com/catalog/lperltk/
87275199 358
5a964f20 359=back
360
361=head2 Perl in Magazines
362
363The first and only periodical devoted to All Things Perl, I<The
e00b594c 364Perl Journal> contains tutorials, demonstrations, case studies,
365announcements, contests, and much more. I<TPJ> has columns on web
5a964f20 366development, databases, Win32 Perl, graphical programming, regular
c355f4f4 367expressions, and networking, and sponsored the Obfuscated Perl
e00b594c 368Contest. For more details on I<The Perl Journal>, see
369http://www.tpj.com/
5a964f20 370
371Beyond this, magazines that frequently carry high-quality articles
372on Perl are I<Web Techniques> (see http://www.webtechniques.com/),
c8db1d39 373I<Performance Computing> (http://www.performance-computing.com/), and Usenix's
5a964f20 374newsletter/magazine to its members, I<login:>, at http://www.usenix.org/.
8dc4d666 375Randal's Web Techniques columns are available on the web at
a6dd486b 376http://www.stonehenge.com/merlyn/WebTechniques/ .
68dc0745 377
378=head2 Perl on the Net: FTP and WWW Access
379
a6dd486b 380To get the best performance, pick a site from
c355f4f4 381the list below and use it to grab the complete list of mirror sites
382which is at /CPAN/MIRRORED.BY or at http://mirror.cpan.org/.
87275199 383From there you can find the quickest site for you. Remember, the
c2e66d9e 384following list is I<not> the complete list of CPAN mirrors
c355f4f4 385(the complete list contains 165 sites as of January 2001):
c2e66d9e 386
c355f4f4 387 http://www.cpan.org/
c2e66d9e 388 http://www.perl.com/CPAN/
c2e66d9e 389 http://download.sourceforge.net/mirrors/CPAN/
390 ftp://ftp.digital.com/pub/plan/perl/CPAN/
391 ftp://ftp.flirble.org/pub/languages/perl/CPAN/
392 ftp://ftp.uvsq.fr/pub/perl/CPAN/
68dc0745 393 ftp://ftp.funet.fi/pub/languages/perl/CPAN/
c2e66d9e 394 ftp://ftp.dti.ad.jp/pub/lang/CPAN/
395 ftp://mirror.aarnet.edu.au/pub/perl/CPAN/
396 ftp://cpan.if.usp.br/pub/mirror/CPAN/
68dc0745 397
c355f4f4 398One may also use xx.cpan.org where "xx" is the 2-letter country code
399for your domain; e.g. Australia would use au.cpan.org.
b0bd3af0 400[Note: This only applies to countries that host at least one mirror.]
c355f4f4 401
87275199 402=head2 What mailing lists are there for Perl?
68dc0745 403
87275199 404Most of the major modules (Tk, CGI, libwww-perl) have their own
68dc0745 405mailing lists. Consult the documentation that came with the module for
c355f4f4 406subscription information.
68dc0745 407
c355f4f4 408 http://lists.cpan.org/
68dc0745 409
65acb1b1 410=head2 Archives of comp.lang.perl.misc
68dc0745 411
b0bd3af0 412The Google search engine now carries archived and searchable newsgroup
413content.
68dc0745 414
b0bd3af0 415http://groups.google.com/groups?hl=en&lr=&safe=off&group=comp.lang.perl.misc
68dc0745 416
b0bd3af0 417If you have a question, you can be sure someone has already asked the
418same question at some point on c.l.p.m. It requires some time and patience
419to sift through all the content but often you will find the answer you
420seek.
68dc0745 421
68dc0745 422=head2 Where can I buy a commercial version of Perl?
423
a6dd486b 424In a real sense, Perl already I<is> commercial software: it has a license
65acb1b1 425that you can grab and carefully read to your manager. It is distributed
426in releases and comes in well-defined packages. There is a very large
427user community and an extensive literature. The comp.lang.perl.*
428newsgroups and several of the mailing lists provide free answers to your
429questions in near real-time. Perl has traditionally been supported by
430Larry, scores of software designers and developers, and myriads of
431programmers, all working for free to create a useful thing to make life
432better for everyone.
68dc0745 433
434However, these answers may not suffice for managers who require a
65acb1b1 435purchase order from a company whom they can sue should anything go awry.
436Or maybe they need very serious hand-holding and contractual obligations.
87275199 437Shrink-wrapped CDs with Perl on them are available from several sources if
a6dd486b 438that will help. For example, many Perl books include a distribution of Perl,
439as do the O'Reilly Perl Resource Kits (in both the Unix flavor
65acb1b1 440and in the proprietary Microsoft flavor); the free Unix distributions
441also all come with Perl.
68dc0745 442
a6dd486b 443Alternatively, you can purchase commercial incidence based support
444through the Perl Clinic. The following is a commercial from them:
e28598cb 445
446"The Perl Clinic is a commercial Perl support service operated by
447ActiveState Tool Corp. and The Ingram Group. The operators have many
448years of in-depth experience with Perl applications and Perl internals
449on a wide range of platforms.
450
451"Through our group of highly experienced and well-trained support engineers,
452we will put our best effort into understanding your problem, providing an
453explanation of the situation, and a recommendation on how to proceed."
454
a6dd486b 455Contact The Perl Clinic at
e28598cb 456
457 www.PerlClinic.com
458
459 North America Pacific Standard Time (GMT-8)
460 Tel: 1 604 606-4611 hours 8am-6pm
461 Fax: 1 604 606-4640
462
463 Europe (GMT)
464 Tel: 00 44 1483 862814
465 Fax: 00 44 1483 862801
68dc0745 466
65acb1b1 467See also www.perl.com for updates on tutorials, training, and support.
5e3006a4 468
68dc0745 469=head2 Where do I send bug reports?
470
471If you are reporting a bug in the perl interpreter or the modules
87275199 472shipped with Perl, use the I<perlbug> program in the Perl distribution or
7f2de2d2 473mail your report to perlbug@perl.org .
68dc0745 474
46fc3d4c 475If you are posting a bug with a non-standard port (see the answer to
68dc0745 476"What platforms is Perl available for?"), a binary distribution, or a
46fc3d4c 477non-standard module (such as Tk, CGI, etc), then please see the
68dc0745 478documentation that came with it to determine the correct place to post
479bugs.
480
5a964f20 481Read the perlbug(1) man page (perl5.004 or later) for more information.
68dc0745 482
90bb42f6 483=head2 What is perl.com? Perl Mongers? pm.org? perl.org?
68dc0745 484
5c5bc629 485The Perl Home Page at http://www.perl.com/ is currently hosted by
486The O'Reilly Network, a subsidiary of O'Reilly and Associates.
68dc0745 487
74078192 488Perl Mongers is an advocacy organization for the Perl language which
489maintains the web site http://www.perl.org/ as a general advocacy
c355f4f4 490site for the Perl language.
90bb42f6 491
492Perl Mongers uses the pm.org domain for services related to Perl user
74078192 493groups, including the hosting of mailing lists and web sites. See the
494Perl user group web site at http://www.pm.org/ for more information about
495joining, starting, or requesting services for a Perl user group.
90bb42f6 496
c355f4f4 497Perl Mongers also maintain the perl.org domain to provide general
498support services to the Perl community, including the hosting of mailing
499lists, web sites, and other services. The web site
500http://www.perl.org/ is a general advocacy site for the Perl language,
501and there are many other sub-domains for special topics, such as
90bb42f6 502
c355f4f4 503 http://bugs.perl.org/
504 http://history.perl.org/
505 http://lists.perl.org/
506 http://news.perl.org/
507 http://use.perl.org/
90bb42f6 508
68dc0745 509=head1 AUTHOR AND COPYRIGHT
510
c355f4f4 511Copyright (c) 1997-2001 Tom Christiansen and Nathan Torkington.
5a964f20 512All rights reserved.
513
c8db1d39 514When included as an integrated part of the Standard Distribution
d92eb7b0 515of Perl or of its documentation (printed or otherwise), this works is
516covered under Perl's Artistic License. For separate distributions of
c8db1d39 517all or part of this FAQ outside of that, see L<perlfaq>.
518
87275199 519Irrespective of its distribution, all code examples here are in the public
c8db1d39 520domain. You are permitted and encouraged to use this code and any
521derivatives thereof in your own programs for fun or for profit as you
522see fit. A simple comment in the code giving credit to the FAQ would
523be courteous but is not required.