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