Software::License::GPL_2::or_later - GPLv2+ license for Software::License infrastructure
Version v0.10.2, released on 2016-10-10 22:17 UTC.
Software-License-OrLaterPack (or just OrLaterPack for brevity) is an add-on for Software-License, a set of licenses with "or later" clause (like GPL_3::or_later). It allows Perl developers (who use Dist-Zilla) to release their work under the terms of a License version N or (at user option) any later version.
Software-License-OrLaterPack
OrLaterPack
Software-License
GPL_3::or_later
Dist-Zilla
This is Software::License::GPL_2::or_later module documentation. Read this if you are going to hack or extend the module, or use the module directly.
Software::License::GPL_2::or_later
If you want to use GNU license with "or later" clause read the user manual. General topics like getting source, building, installing, bug reporting and some others are covered in the README file.
my $lic = Software::License::GPL_2::or_later->new( { holder => 'John Doe', year => '2010', program => 'Assa' } ); $lic->_abbr; # 'GPL' $lic->abbr; # 'GPLv2+' $lic->_name; # 'GNU General Public License' $lic->name; # 'The GNU General Public License version 2 or later' $lic->notice; # Copyright statement and # standard GNU 3-paragraph license notice. $lic->notice( 'short' ); # Copyright statement, license name and # two sentences about free software and warranties. # …and other methods inherited from Software::License::GPL_2 # and Software::License.
Software::License::GPL_2::or_later is a subclass of Software::License::GPL_2. It overrides few parent methods and introduces few own methods.
Software::License::GPL_2
See documentation on Software::License for a general description of the class interface.
Bare abbreviated license name, "GPL".
Note: this attribute is not inherited from the base class.
Abbreviated license name: concatenated bare abbreviated license name, 'v' character, and license version (with trailing plus sign).
A reference to base license object, i. e. license without "or later" clause.
Bare name of the license, which is also bare name of the base license, because it does include neither definitive article ("The"), nor license version nor "or later" clause: "GNU General Public License".
This attribute meets Software::License specification: returned name starts with definitive capitalized article ("The"). Returned name also includes the base license version (like other Software::License classes do) (without trailing plus sign) and "or later" clause.
Software::License
A program name as specified by the program option in constructor, or the Program option in constructor, or "this program". This form of program name is intended to be used in the middle of sentence.
program
Program
A program name as specified by the Program option in constructor, or the program option in constructor, or "This program". This form of program name is intended to be used in the beginning of sentence.
License version (base license version with appended plus sign to denote "or later" clause).
This method overrides Software::License's notice. Differences are:
notice
If the license object was created with program or Program or both options, notice will include real program name instead of generic "this program".
It returns copyright statement followed by standard GNU 3-paragraph license notice.
Result is formatted with Text::Wrap::fill.
The method can be called with 'short' argument to get short version of notice. Short version includes: copyright statement, license name, and two sentences about free software and warranties. Note: This is experimental feature.
'short'
Van de Bugger <van.de.bugger@gmail.com>
Copyright (C) 2015 Van de Bugger
License GPLv3+: The GNU General Public License version 3 or later <http://www.gnu.org/licenses/gpl-3.0.txt>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
To install Software::License::OrLaterPack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Software::License::OrLaterPack
CPAN shell
perl -MCPAN -e shell install Software::License::OrLaterPack
For more information on module installation, please visit the detailed CPAN module installation guide.