NAME
perlgpl - the GNU General Public License, version 1
SYNOPSIS
You can refer to this document in Pod via "L<perlgpl>"Or you can see this document by entering "perldoc perlgpl"
DESCRIPTION
Perl is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License as published by the FreeSoftware Foundation; either version 1, or (at your option) anylater version, orb) the "Artistic License" which comes with this Kit.
This is the "GNU General Public License, version 1". It's here so that modules, programs, etc., that want to declare this as their distribution license can link to it.
For the Perl Artistic License, see perlartistic.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSEVersion 1, February 1989Copyright (C) 1989 Free Software Foundation, Inc.<https://fsf.org/>Everyone is permitted to copy and distribute verbatim copiesof this license document, but changing it is not allowed.PreambleThe license agreements of most software companies try to keep usersat the mercy of those companies. By contrast, our General PublicLicense is intended to guarantee your freedom to share and change freesoftware--to make sure the software is free for all its users. TheGeneral Public License applies to the Free Software Foundation'ssoftware and to any other program whose authors commit to using it.You can use it for your programs, too.When we speak of free software, we are referring to freedom, notprice. Specifically, the General Public License is designed to makesure that you have the freedom to give away or sell copies of freesoftware, that you receive source code or can get it if you want it,that you can change the software or use pieces of it in new freeprograms; and that you know you can do these things.To protect your rights, we need to make restrictions that forbidanyone to deny you these rights or to ask you to surrender the rights.These restrictions translate to certain responsibilities for you if youdistribute copies of the software, or if you modify it.For example, if you distribute copies of a such a program, whethergratis or for a fee, you must give the recipients all the rights thatyou have. You must make sure that they, too, receive or can get thesource code. And you must tell them their rights.We protect your rights with two steps: (1) copyright the software,and (2) offer you this license which gives you legal permission tocopy, distribute and/or modify the software.Also, for each author's protection and ours, we want to make certainthat everyone understands that there is no warranty for this freesoftware. If the software is modified by someone else and passed on,we want its recipients to know that what they have is not the original,so that any problems introduced by others will not reflect on theoriginal authors' reputations.The precise terms and conditions for copying, distribution andmodification follow.GNU GENERAL PUBLIC LICENSETERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION0. This License Agreement applies to any program or other work whichcontains a notice placed by the copyright holder saying it may bedistributed under the terms of this General Public License. The"Program", below, refers to any such program or work, and a "work basedon the Program" means either the Program or any work containing theProgram or a portion of it, either verbatim or with modifications.Each licensee is addressed as "you".1. You may copy and distribute verbatim copies of the Program'ssource code as you receive it, in any medium, provided that youconspicuously and appropriately publish on each copy an appropriatecopyright notice and disclaimer of warranty; keep intact all thenotices that refer to this General Public License and to the absence ofany warranty; and give any other recipients of the Program a copy ofthis General Public License along with the Program. You may charge afee for the physical act of transferring a copy.2. You may modify your copy or copies of the Program or any portionof it, and copy and distribute such modifications under the terms ofParagraph 1 above, provided that you also do the following:a) cause the modified files to carry prominent notices stating thatyou changed the files and the date of any change; andb) cause the whole of any work that you distribute or publish, thatin whole or in part contains the Program or any part thereof,either with or without modifications, to be licensed at no chargeto all third parties under the terms of this General Public License(except that you may choose to grant warranty protection to some orall third parties, at your option).c) If the modified program normally reads commands interactivelywhen run, you must cause it, when started running for suchinteractive use in the simplest and most usual way, to print ordisplay an announcement including an appropriate copyright noticeand a notice that there is no warranty (or else, saying that youprovide a warranty) and that users may redistribute the programunder these conditions, and telling the user how to view a copy ofthis General Public License.d) You may charge a fee for the physical act of transferring acopy, and you may at your option offer warranty protection inexchange for a fee.Mere aggregation of another independent work with the Program (or itsderivative) on a volume of a storage or distribution medium does notbring the other work under the scope of these terms.3. You may copy and distribute the Program (or a portion orderivative of it, under Paragraph 2) in object code or executable formunder the terms of Paragraphs 1 and 2 above provided that you also doone of the following:a) accompany it with the complete corresponding machine-readablesource code, which must be distributed under the terms ofParagraphs 1 and 2 above; or,b) accompany it with a written offer, valid for at least threeyears, to give any third party free (except for a nominal chargefor the cost of distribution) a complete machine-readable copy ofthe corresponding source code, to be distributed under the terms ofParagraphs 1 and 2 above; or,c) accompany it with the information you received as to where thecorresponding source code may be obtained. (This alternative isallowed only for noncommercial distribution and only if youreceived the program in object code or executable form alone.)Source code for a work means the preferred form of the work for makingmodifications to it. For an executable file, complete source codemeans all the source code for all modules it contains; but, as aspecial exception, it need not include source code for modules whichare standard libraries that accompany the operating system on which theexecutable file runs, or for standard header files or definitions filesthat accompany that operating system.4. You may not copy, modify, sublicense, distribute or transfer theProgram except as expressly provided under this General Public License.Any attempt otherwise to copy, modify, sublicense, distribute ortransfer the Program is void, and will automatically terminate yourrights to use the Program under this License. However, parties whohave received copies, or rights to use copies, from you under thisGeneral Public License will not have their licenses terminated so longas such parties remain in full compliance.5. By copying, distributing or modifying the Program (or any workbased on the Program) you indicate your acceptance of this license todo so, and all its terms and conditions.6. Each time you redistribute the Program (or any work based on theProgram), the recipient automatically receives a license from theoriginal licensor to copy, distribute or modify the Program subject tothese terms and conditions. You may not impose any furtherrestrictions on the recipients' exercise of the rights granted herein.7. The Free Software Foundation may publish revised and/or newversions of the General Public License from time to time. Such newversions will be similar in spirit to the present version, but maydiffer in detail to address new problems or concerns.Each version is given a distinguishing version number. If the Programspecifies a version number of the license which applies to it and "anylater version", you have the option of following the terms andconditions either of that version or of any later version published bythe Free Software Foundation. If the Program does not specify aversion number of the license, you may choose any version everpublished by the Free Software Foundation.8. If you wish to incorporate parts of the Program into other freeprograms whose distribution conditions are different, write to theauthor to ask for permission. For software which is copyrighted by theFree Software Foundation, write to the Free Software Foundation; wesometimes make exceptions for this. Our decision will be guided by thetwo goals of preserving the free status of all derivatives of our freesoftware and of promoting the sharing and reuse of software generally.NO WARRANTY9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NOWARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OROTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM ISWITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OFALL NECESSARY SERVICING, REPAIR OR CORRECTION.10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO INWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFYAND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOUFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL ORCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THEPROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEINGRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR AFAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IFSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCHDAMAGES.END OF TERMS AND CONDITIONSAppendix: How to Apply These Terms to Your New ProgramsIf you develop a new program, and you want it to be of the greatestpossible use to humanity, the best way to achieve this is to make itfree software which everyone can redistribute and change under theseterms.To do so, attach the following notices to the program. It is safestto attach them to the start of each source file to most effectivelyconvey the exclusion of warranty; and each file should have at leastthe "copyright" line and a pointer to where the full notice is found.<one line to give the program's name and a brief idea of what itdoes.>Copyright (C) 19yy <name of author>This program is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public License aspublished by the Free Software Foundation; either version 1, or (atyour option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, see <https://www.gnu.org/licenses/>.Also add information on how to contact you by electronic and papermail.If the program is interactive, make it output a short notice like thiswhen it starts in an interactive mode:Gnomovision version 69, Copyright (C) 19xx name of authorGnomovision comes with ABSOLUTELY NO WARRANTY; for details type'show w'. This is free software, and you are welcome toredistribute it under certain conditions; type 'show c' fordetails.The hypothetical commands 'show w' and 'show c' should show theappropriate parts of the General Public License. Of course, thecommands you use may be called something other than 'show w' and 'showc'; they could even be mouse-clicks or menu items--whatever suits yourprogram.You should also get your employer (if you work as a programmer) or yourschool, if any, to sign a "copyright disclaimer" for the program, ifnecessary. Here a sample; alter the names:Yoyodyne, Inc., hereby disclaims all copyright interest in theprogram 'Gnomovision' (a program to direct compilers to make passesat assemblers) written by James Hacker.<signature of Moe Ghoul>, 1 April 1989Moe Ghoul, President of ViceThat's all there is to it!