This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Note about filesize limits.
[perl5.git] / README
CommitLineData
8d063cd8 1
79072805 2 Perl Kit, Version 5.0
8d063cd8 3
efb12ca0 4 Copyright 1989-1999, Larry Wall
79072805 5 All rights reserved.
a687059c
LW
6
7 This program is free software; you can redistribute it and/or modify
d48672a2 8 it under the terms of either:
8e07c86e 9
d48672a2
LW
10 a) the GNU General Public License as published by the Free
11 Software Foundation; either version 1, or (at your option) any
12 later version, or
13
14 b) the "Artistic License" which comes with this Kit.
a687059c
LW
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
d48672a2
LW
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
19 the GNU General Public License or the Artistic License for more details.
20
21 You should have received a copy of the Artistic License with this
22 Kit, in the file named "Artistic". If not, I'll be glad to provide one.
a687059c 23
d48672a2 24 You should also have received a copy of the GNU General Public License
8d814b80
GS
25 along with this program; if not, write to the Free Software Foundation,
26 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
8d063cd8 27
d48672a2
LW
28 For those of you that choose to use the GNU General Public License,
29 my interpretation of the GNU General Public License is that no Perl
30 script falls under the terms of the GPL unless you explicitly put
31 said script under the terms of the GPL yourself. Furthermore, any
748a9306 32 object code linked with perl does not automatically fall under the
d48672a2 33 terms of the GPL, provided such object code only adds definitions
79220ce3
LW
34 of subroutines and variables, and does not otherwise impair the
35 resulting interpreter from executing any standard Perl script. I
36 consider linking in C subroutines in this manner to be the moral
37 equivalent of defining subroutines in the Perl language itself. You
38 may sell such an object file as proprietary provided that you provide
39 or offer to provide the Perl source, as specified by the GNU General
40 Public License. (This is merely an alternate way of specifying input
41 to the program.) You may also sell a binary produced by the dumping of
42 a running Perl script that belongs to you, provided that you provide or
d48672a2 43 offer to provide the Perl source as specified by the GPL. (The
79220ce3
LW
44 fact that a Perl interpreter and your code are in the same binary file
45 is, in this case, a form of mere aggregation.) This is my interpretation
d48672a2
LW
46 of the GPL. If you still have concerns or difficulties understanding
47 my intent, feel free to contact me. Of course, the Artistic License
48 spells all this out for your protection, so you may prefer to use that.
79220ce3 49
8d063cd8
LW
50--------------------------------------------------------------------------
51
79072805 52Perl is a language that combines some of the features of C, sed, awk
a0d0e21e
LW
53and shell. See the manual page for more hype. There are also two Nutshell
54Handbooks published by O'Reilly & Assoc. See pod/perlbook.pod
55for more information.
8d063cd8
LW
56
57Please read all the directions below before you proceed any further, and
a687059c 58then follow them carefully.
8d063cd8
LW
59
60After you have unpacked your kit, you should have all the files listed
61in MANIFEST.
62
63Installation
64
3e3baf6d
TB
651) Detailed instructions are in the file INSTALL which you should read.
66In brief, the following should work on most systems:
491517e0
JA
67
68 rm -f config.sh Policy.sh
69 sh Configure -de
8e07c86e
AD
70 make
71 make test
72 make install
491517e0 73
3e3baf6d 74For most systems, it should be safe to accept all the Configure defaults.
491517e0
JA
75It is recommended that you accept the defaults the first time you build
76or if you have any problems building.
77
78The above commands will install Perl to /usr/local or /opt, depending
79on the platform. If that's not okay with you, use
80
81 rm -f config.sh Policy.sh
82 sh Configure
83 make
84 make test
85 make install
86
87Full configuration instructions can be found in the INSTALL file.
8e07c86e
AD
88
892) Read the manual entries before running perl.
90
913) IMPORTANT! Help save the world! Communicate any problems and suggested
02c45c47
GS
92patches to perlbug@perl.com so we can keep the world in sync.
93If you have a problem, there's someone else out there who either has had
94or will have the same problem. It's usually helpful if you send the
95output of the "myconfig" script in the main perl directory.
8e07c86e 96
c07a80fd 97If you've succeeded in compiling perl, the perlbug script in the utils/
98subdirectory can be used to help mail in a bug report.
99
8e07c86e
AD
100If possible, send in patches such that the patch program will apply them.
101Context diffs are the best, then normal diffs. Don't send ed scripts--
102I've probably changed my copy since the version you have.
103
104Watch for perl patches in comp.lang.perl.announce. Patches will generally
105be in a form usable by the patch program. If you are just now bringing
106up perl and aren't sure how many patches there are, write to me and I'll
107send any you don't have. Your current patch level is shown in
108patchlevel.h.
8d063cd8 109
a687059c
LW
110
111Just a personal note: I want you to know that I create nice things like this
112because it pleases the Author of my story. If this bothers you, then your
113notion of Authorship needs some revision. But you can use perl anyway. :-)
114
115 The author.