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