This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
More notes in perldelta
[perl5.git] / README
1 Perl is Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2 2002, 2003, 2004, 2005, 2006 by Larry Wall and others.  All rights reserved.
3
4
5
6 ABOUT PERL
7 ==========
8
9 Perl is a general-purpose programming language originally developed for
10 text manipulation and now used for a wide range of tasks including
11 system administration, web development, network programming, GUI
12 development, and more.
13
14 The language is intended to be practical (easy to use, efficient,
15 complete) rather than beautiful (tiny, elegant, minimal).  Its major
16 features are that it's easy to use, supports both procedural and
17 object-oriented (OO) programming, has powerful built-in support for text
18 processing, and has one of the world's most impressive collections of
19 third-party modules.
20
21 For an introduction to the language's features, see pod/perlintro.pod.
22
23 There are also many Perl books available, covering a wide variety of topics,
24 from various publishers.  See pod/perlbook.pod for more information.
25
26
27 INSTALLATION
28 ============
29
30 If you're using a relatively modern operating system and want to
31 install this version of Perl locally, run the following commands:
32
33   ./Configure -des -Dprefix=/opt/foo
34   make test
35   make install
36
37 If you run into any trouble whatsoever or you need to install a customized
38 version of Perl, you should read the detailed instructions in the "INSTALL"
39 file that came with this distribution.  Additionally, there are a number of
40 "README" files with hints and tips about building and using Perl on a wide
41 variety of platforms, some more common than others.
42
43 Once you have Perl installed, a wealth of documentation is available to you
44 through the 'perldoc' tool.  To get started, run this command:
45
46   perldoc perl
47
48
49 IF YOU RUN INTO TROUBLE
50 =======================
51
52 Perl is a large and complex system that's used for everything from
53 knitting to rocket science.  If you run into trouble, it's quite
54 likely that someone else has already solved the problem you're
55 facing. Once you've exhausted the documentation, please report bugs to us
56 using the 'perlbug' tool. For more information about perlbug, either type
57 'perldoc perlbug' or just 'perlbug' on a line by itself.
58
59 While it was current when we made it available, Perl is constantly evolving
60 and there may be a more recent version that bugs you've run into or adds
61 new features that you might find useful.
62
63 You can always find the latest version of perl on a CPAN (Comprehensive Perl
64 Archive Network) site near you at http://www.cpan.org/src/
65
66
67 Just a personal note:  I want you to know that I create nice things like this
68 because it pleases the Author of my story.  If this bothers you, then your
69 notion of Authorship needs some revision.  But you can use perl anyway. :-)
70
71                                                         The author.
72
73
74 LICENSING
75 =========
76
77 This program is free software; you can redistribute it and/or modify
78 it under the terms of either:
79
80         a) the GNU General Public License as published by the Free
81         Software Foundation; either version 1, or (at your option) any
82         later version, or
83
84         b) the "Artistic License" which comes with this Kit.
85
86 This program is distributed in the hope that it will be useful,
87 but WITHOUT ANY WARRANTY; without even the implied warranty of
88 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
89 the GNU General Public License or the Artistic License for more details.
90
91 You should have received a copy of the Artistic License with this
92 Kit, in the file named "Artistic".  If not, I'll be glad to provide one.
93
94 You should also have received a copy of the GNU General Public License
95 along with this program in the file named "Copying". If not, write to the
96 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
97 02111-1307, USA or visit their web page on the internet at
98 http://www.gnu.org/copyleft/gpl.html.
99
100 For those of you that choose to use the GNU General Public License,
101 my interpretation of the GNU General Public License is that no Perl
102 script falls under the terms of the GPL unless you explicitly put
103 said script under the terms of the GPL yourself.  Furthermore, any
104 object code linked with perl does not automatically fall under the
105 terms of the GPL, provided such object code only adds definitions
106 of subroutines and variables, and does not otherwise impair the
107 resulting interpreter from executing any standard Perl script.  I
108 consider linking in C subroutines in this manner to be the moral
109 equivalent of defining subroutines in the Perl language itself.  You
110 may sell such an object file as proprietary provided that you provide
111 or offer to provide the Perl source, as specified by the GNU General
112 Public License.  (This is merely an alternate way of specifying input
113 to the program.)  You may also sell a binary produced by the dumping of
114 a running Perl script that belongs to you, provided that you provide or
115 offer to provide the Perl source as specified by the GPL.  (The
116 fact that a Perl interpreter and your code are in the same binary file
117 is, in this case, a form of mere aggregation.)  This is my interpretation
118 of the GPL.  If you still have concerns or difficulties understanding
119 my intent, feel free to contact me.  Of course, the Artistic License
120 spells all this out for your protection, so you may prefer to use that.
121
122