Debian Codegraph @

upstream/debian-unstable/man1/perlgpl.1

raw
1 .\" -*- mode: troff; coding: utf-8 -*-
2 .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)
3 .\"
4 .\" Standard preamble:
5 .\" ========================================================================
6 .de Sp \" Vertical space (when we can't use .PP)
7 .if t .sp .5v
8 .if n .sp
9 ..
10 .de Vb \" Begin verbatim text
11 .ft CW
12 .nf
13 .ne \\$1
14 ..
15 .de Ve \" End verbatim text
16 .ft R
17 .fi
18 ..
19 .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
20 .ie n \{\
21 . ds C` ""
22 . ds C' ""
23 'br\}
24 .el\{\
25 . ds C`
26 . ds C'
27 'br\}
28 .\"
29 .\" Escape single quotes in literal strings from groff's Unicode transform.
30 .ie \n(.g .ds Aq \(aq
31 .el .ds Aq '
32 .\"
33 .\" If the F register is >0, we'll generate index entries on stderr for
34 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
35 .\" entries marked with X<> in POD. Of course, you'll have to process the
36 .\" output yourself in some meaningful fashion.
37 .\"
38 .\" Avoid warning from groff about undefined register 'F'.
39 .de IX
40 ..
41 .nr rF 0
42 .if \n(.g .if rF .nr rF 1
43 .if (\n(rF:(\n(.g==0)) \{\
44 . if \nF \{\
45 . de IX
46 . tm Index:\\$1\t\\n%\t"\\$2"
47 ..
48 . if !\nF==2 \{\
49 . nr % 0
50 . nr F 2
51 . \}
52 . \}
53 .\}
54 .rr rF
55 .\" ========================================================================
56 .\"
57 .IX Title "PERLGPL 1"
58 .TH PERLGPL 1 2025-11-16 "perl v5.40.1" "Perl Programmers Reference Guide"
59 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
60 .\" way too many mistakes in technical documents.
61 .if n .ad l
62 .nh
63 .SH NAME
64 perlgpl \- the GNU General Public License, version 1
65 .SH SYNOPSIS
66 .IX Header "SYNOPSIS"
67 .Vb 2
68 \& You can refer to this document in Pod via "L<perlgpl>"
69 \& Or you can see this document by entering "perldoc perlgpl"
70 .Ve
71 .SH DESCRIPTION
72 .IX Header "DESCRIPTION"
73 Perl is free software; you can redistribute it and/or modify
74 it under the terms of either:
75 .PP
76 .Vb 3
77 \& a) the GNU General Public License as published by the Free
78 \& Software Foundation; either version 1, or (at your option) any
79 \& later version, or
80 \&
81 \& b) the "Artistic License" which comes with this Kit.
82 .Ve
83 .PP
84 This is the \fB"GNU General Public License, version 1"\fR.
85 It's here so that modules, programs, etc., that want to declare
86 this as their distribution license can link to it.
87 .PP
88 For the Perl Artistic License, see perlartistic.
89 .SH "GNU GENERAL PUBLIC LICENSE"
90 .IX Header "GNU GENERAL PUBLIC LICENSE"
91 .Vb 2
92 \& GNU GENERAL PUBLIC LICENSE
93 \& Version 1, February 1989
94 \&
95 \& Copyright (C) 1989 Free Software Foundation, Inc.
96 \& 51 Franklin St, Fifth Floor, Boston, MA 02110\-1301 USA
97 \&
98 \& Everyone is permitted to copy and distribute verbatim copies
99 \& of this license document, but changing it is not allowed.
100 \&
101 \& Preamble
102 \&
103 \& The license agreements of most software companies try to keep users
104 \& at the mercy of those companies. By contrast, our General Public
105 \& License is intended to guarantee your freedom to share and change free
106 \& software\-\-to make sure the software is free for all its users. The
107 \& General Public License applies to the Free Software Foundation\*(Aqs
108 \& software and to any other program whose authors commit to using it.
109 \& You can use it for your programs, too.
110 \&
111 \& When we speak of free software, we are referring to freedom, not
112 \& price. Specifically, the General Public License is designed to make
113 \& sure that you have the freedom to give away or sell copies of free
114 \& software, that you receive source code or can get it if you want it,
115 \& that you can change the software or use pieces of it in new free
116 \& programs; and that you know you can do these things.
117 \&
118 \& To protect your rights, we need to make restrictions that forbid
119 \& anyone to deny you these rights or to ask you to surrender the rights.
120 \& These restrictions translate to certain responsibilities for you if you
121 \& distribute copies of the software, or if you modify it.
122 \&
123 \& For example, if you distribute copies of a such a program, whether
124 \& gratis or for a fee, you must give the recipients all the rights that
125 \& you have. You must make sure that they, too, receive or can get the
126 \& source code. And you must tell them their rights.
127 \&
128 \& We protect your rights with two steps: (1) copyright the software,
129 \& and (2) offer you this license which gives you legal permission to
130 \& copy, distribute and/or modify the software.
131 \&
132 \& Also, for each author\*(Aqs protection and ours, we want to make certain
133 \& that everyone understands that there is no warranty for this free
134 \& software. If the software is modified by someone else and passed on,
135 \& we want its recipients to know that what they have is not the original,
136 \& so that any problems introduced by others will not reflect on the
137 \& original authors\*(Aq reputations.
138 \&
139 \& The precise terms and conditions for copying, distribution and
140 \& modification follow.
141 \&
142 \& GNU GENERAL PUBLIC LICENSE
143 \& TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
144 \&
145 \& 0. This License Agreement applies to any program or other work which
146 \& contains a notice placed by the copyright holder saying it may be
147 \& distributed under the terms of this General Public License. The
148 \& "Program", below, refers to any such program or work, and a "work based
149 \& on the Program" means either the Program or any work containing the
150 \& Program or a portion of it, either verbatim or with modifications.
151 \& Each licensee is addressed as "you".
152 \&
153 \& 1. You may copy and distribute verbatim copies of the Program\*(Aqs
154 \& source code as you receive it, in any medium, provided that you
155 \& conspicuously and appropriately publish on each copy an appropriate
156 \& copyright notice and disclaimer of warranty; keep intact all the
157 \& notices that refer to this General Public License and to the absence of
158 \& any warranty; and give any other recipients of the Program a copy of
159 \& this General Public License along with the Program. You may charge a
160 \& fee for the physical act of transferring a copy.
161 \&
162 \& 2. You may modify your copy or copies of the Program or any portion
163 \& of it, and copy and distribute such modifications under the terms of
164 \& Paragraph 1 above, provided that you also do the following:
165 \&
166 \& a) cause the modified files to carry prominent notices stating that
167 \& you changed the files and the date of any change; and
168 \&
169 \& b) cause the whole of any work that you distribute or publish, that
170 \& in whole or in part contains the Program or any part thereof,
171 \& either with or without modifications, to be licensed at no charge
172 \& to all third parties under the terms of this General Public License
173 \& (except that you may choose to grant warranty protection to some or
174 \& all third parties, at your option).
175 \&
176 \& c) If the modified program normally reads commands interactively
177 \& when run, you must cause it, when started running for such
178 \& interactive use in the simplest and most usual way, to print or
179 \& display an announcement including an appropriate copyright notice
180 \& and a notice that there is no warranty (or else, saying that you
181 \& provide a warranty) and that users may redistribute the program
182 \& under these conditions, and telling the user how to view a copy of
183 \& this General Public License.
184 \&
185 \& d) You may charge a fee for the physical act of transferring a
186 \& copy, and you may at your option offer warranty protection in
187 \& exchange for a fee.
188 \&
189 \& Mere aggregation of another independent work with the Program (or its
190 \& derivative) on a volume of a storage or distribution medium does not
191 \& bring the other work under the scope of these terms.
192 \&
193 \& 3. You may copy and distribute the Program (or a portion or
194 \& derivative of it, under Paragraph 2) in object code or executable form
195 \& under the terms of Paragraphs 1 and 2 above provided that you also do
196 \& one of the following:
197 \&
198 \& a) accompany it with the complete corresponding machine\-readable
199 \& source code, which must be distributed under the terms of
200 \& Paragraphs 1 and 2 above; or,
201 \&
202 \& b) accompany it with a written offer, valid for at least three
203 \& years, to give any third party free (except for a nominal charge
204 \& for the cost of distribution) a complete machine\-readable copy of
205 \& the corresponding source code, to be distributed under the terms of
206 \& Paragraphs 1 and 2 above; or,
207 \&
208 \& c) accompany it with the information you received as to where the
209 \& corresponding source code may be obtained. (This alternative is
210 \& allowed only for noncommercial distribution and only if you
211 \& received the program in object code or executable form alone.)
212 \&
213 \& Source code for a work means the preferred form of the work for making
214 \& modifications to it. For an executable file, complete source code
215 \& means all the source code for all modules it contains; but, as a
216 \& special exception, it need not include source code for modules which
217 \& are standard libraries that accompany the operating system on which the
218 \& executable file runs, or for standard header files or definitions files
219 \& that accompany that operating system.
220 \&
221 \& 4. You may not copy, modify, sublicense, distribute or transfer the
222 \& Program except as expressly provided under this General Public License.
223 \& Any attempt otherwise to copy, modify, sublicense, distribute or
224 \& transfer the Program is void, and will automatically terminate your
225 \& rights to use the Program under this License. However, parties who
226 \& have received copies, or rights to use copies, from you under this
227 \& General Public License will not have their licenses terminated so long
228 \& as such parties remain in full compliance.
229 \&
230 \& 5. By copying, distributing or modifying the Program (or any work
231 \& based on the Program) you indicate your acceptance of this license to
232 \& do so, and all its terms and conditions.
233 \&
234 \& 6. Each time you redistribute the Program (or any work based on the
235 \& Program), the recipient automatically receives a license from the
236 \& original licensor to copy, distribute or modify the Program subject to
237 \& these terms and conditions. You may not impose any further
238 \& restrictions on the recipients\*(Aq exercise of the rights granted herein.
239 \&
240 \& 7. The Free Software Foundation may publish revised and/or new
241 \& versions of the General Public License from time to time. Such new
242 \& versions will be similar in spirit to the present version, but may
243 \& differ in detail to address new problems or concerns.
244 \&
245 \& Each version is given a distinguishing version number. If the Program
246 \& specifies a version number of the license which applies to it and "any
247 \& later version", you have the option of following the terms and
248 \& conditions either of that version or of any later version published by
249 \& the Free Software Foundation. If the Program does not specify a
250 \& version number of the license, you may choose any version ever
251 \& published by the Free Software Foundation.
252 \&
253 \& 8. If you wish to incorporate parts of the Program into other free
254 \& programs whose distribution conditions are different, write to the
255 \& author to ask for permission. For software which is copyrighted by the
256 \& Free Software Foundation, write to the Free Software Foundation; we
257 \& sometimes make exceptions for this. Our decision will be guided by the
258 \& two goals of preserving the free status of all derivatives of our free
259 \& software and of promoting the sharing and reuse of software generally.
260 \&
261 \& NO WARRANTY
262 \&
263 \& 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
264 \& WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
265 \& EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
266 \& OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
267 \& EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
268 \& WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
269 \& THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS
270 \& WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
271 \& ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
272 \&
273 \& 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
274 \& WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
275 \& AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
276 \& FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
277 \& CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
278 \& PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
279 \& RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
280 \& FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
281 \& SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
282 \& DAMAGES.
283 \&
284 \& END OF TERMS AND CONDITIONS
285 \&
286 \& Appendix: How to Apply These Terms to Your New Programs
287 \&
288 \& If you develop a new program, and you want it to be of the greatest
289 \& possible use to humanity, the best way to achieve this is to make it
290 \& free software which everyone can redistribute and change under these
291 \& terms.
292 \&
293 \& To do so, attach the following notices to the program. It is safest
294 \& to attach them to the start of each source file to most effectively
295 \& convey the exclusion of warranty; and each file should have at least
296 \& the "copyright" line and a pointer to where the full notice is found.
297 \&
298 \& <one line to give the program\*(Aqs name and a brief idea of what it
299 \& does.>
300 \& Copyright (C) 19yy <name of author>
301 \&
302 \& This program is free software; you can redistribute it and/or
303 \& modify it under the terms of the GNU General Public License as
304 \& published by the Free Software Foundation; either version 1, or (at
305 \& your option) any later version.
306 \&
307 \& This program is distributed in the hope that it will be useful,
308 \& but WITHOUT ANY WARRANTY; without even the implied warranty of
309 \& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
310 \& GNU General Public License for more details.
311 \&
312 \& You should have received a copy of the GNU General Public License
313 \& along with this program; if not, write to the Free Software
314 \& Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA
315 \& 02110\-1301 USA
316 \&
317 \&
318 \& Also add information on how to contact you by electronic and paper
319 \& mail.
320 \&
321 \& If the program is interactive, make it output a short notice like this
322 \& when it starts in an interactive mode:
323 \&
324 \& Gnomovision version 69, Copyright (C) 19xx name of author
325 \& Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type
326 \& \*(Aqshow w\*(Aq. This is free software, and you are welcome to
327 \& redistribute it under certain conditions; type \*(Aqshow c\*(Aq for
328 \& details.
329 \&
330 \& The hypothetical commands \*(Aqshow w\*(Aq and \*(Aqshow c\*(Aq should show the
331 \& appropriate parts of the General Public License. Of course, the
332 \& commands you use may be called something other than \*(Aqshow w\*(Aq and \*(Aqshow
333 \& c\*(Aq; they could even be mouse\-clicks or menu items\-\-whatever suits your
334 \& program.
335 \&
336 \& You should also get your employer (if you work as a programmer) or your
337 \& school, if any, to sign a "copyright disclaimer" for the program, if
338 \& necessary. Here a sample; alter the names:
339 \&
340 \& Yoyodyne, Inc., hereby disclaims all copyright interest in the
341 \& program \*(AqGnomovision\*(Aq (a program to direct compilers to make passes
342 \& at assemblers) written by James Hacker.
343 \&
344 \& <signature of Ty Coon>, 1 April 1989
345 \& Ty Coon, President of Vice
346 \&
347 \& That\*(Aqs all there is to it!
348 .Ve