This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
correct FSF address in various places
[perl5.git] / README
CommitLineData
8d063cd8 1
79072805 2 Perl Kit, Version 5.0
8d063cd8 3
774d564b 4 Copyright 1989-1997, 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:
8e07c86e
AD
67 rm -f config.sh
68 sh Configure
69 make
70 make test
71 make install
3e3baf6d
TB
72For most systems, it should be safe to accept all the Configure defaults.
73(It is recommended that you accept the defaults the first time you build
74or if you have any problems building.)
8e07c86e
AD
75
762) Read the manual entries before running perl.
77
783) IMPORTANT! Help save the world! Communicate any problems and suggested
02c45c47
GS
79patches to perlbug@perl.com so we can keep the world in sync.
80If you have a problem, there's someone else out there who either has had
81or will have the same problem. It's usually helpful if you send the
82output of the "myconfig" script in the main perl directory.
8e07c86e 83
c07a80fd
PP
84If you've succeeded in compiling perl, the perlbug script in the utils/
85subdirectory can be used to help mail in a bug report.
86
8e07c86e
AD
87If possible, send in patches such that the patch program will apply them.
88Context diffs are the best, then normal diffs. Don't send ed scripts--
89I've probably changed my copy since the version you have.
90
91Watch for perl patches in comp.lang.perl.announce. Patches will generally
92be in a form usable by the patch program. If you are just now bringing
93up perl and aren't sure how many patches there are, write to me and I'll
94send any you don't have. Your current patch level is shown in
95patchlevel.h.
8d063cd8 96
a687059c
LW
97
98Just a personal note: I want you to know that I create nice things like this
99because it pleases the Author of my story. If this bothers you, then your
100notion of Authorship needs some revision. But you can use perl anyway. :-)
101
102 The author.