This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Warn on 'undef $x; $x OP 1' where OP is *=, /=, %=, or **=
[perl5.git] / README
CommitLineData
8d063cd8 1
79072805 2 Perl Kit, Version 5.0
8d063cd8 3
c07a80fd 4 Copyright 1989-1996, 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
a687059c
LW
25 along with this program; if not, write to the Free Software
26 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, 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
8e07c86e
AD
651) Detailed instructions are in the file INSTALL. In brief, the
66following should work on most systems:
67 rm -f config.sh
68 sh Configure
69 make
70 make test
71 make install
72For most systems, it should be safe to accept all the Configure
73defaults.
74
752) Read the manual entries before running perl.
76
773) IMPORTANT! Help save the world! Communicate any problems and suggested
3c8c04f2 78patches to me, larry@wall.org (Larry Wall), so we can
8e07c86e
AD
79keep the world in sync. If you have a problem, there's someone else
80out there who either has had or will have the same problem.
81It's usually helpful if you send the output of the "myconfig" script
82in the main perl directory.
83
c07a80fd 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.