NAME

Software::License::AGPL_3::or_later - AGPLv3+ license for Software::License infrastructure

VERSION

Version v0.9.0_01, released on 2015-09-27 13:18 UTC. This is a trial release.

WHAT?

Software-License-OrLaterPack 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.

This is Software::License::AGPL_3::or_later module documentation. Read this if you are going to hack or extend the module, or use the module directly.

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.

SYNOPSIS

$lic = Software::License::AGPL_3::or_later->new( {
    holder  => 'John Doe',
    year    => '2010',
    program => 'Assa'
);

$lic->_abbr;    # 'AGPL'
$lic->abbr;     # 'AGPLv3+'
$lic->_name;    # ''
$lic->name;     # 'The  version 3 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.

# + other methods inherited from Software::License::AGPL_3
# and Software::License.

DESCRIPTION

Software::License::AGPL_3::or_later is a subclass of Software::License::AGPL_3. It overrides few parent methods and introduces few own methods.

See documentation on Software::License for a general description of the class interface.

OBJECT METHODS

_abbr

Returns bare abbreviated license name, "AGPL".

Note: this method is not inherited from base class.

abbr

Returns abbreviated license name: concatenated bare abbreviated license name, 'v' character, and license version (with trailing plus sign).

Note: this method is not inherited from base class.

base

Returns a reference to base license object, i. e. license without "or later" clause.

Note: this method is not inherited from base class.

_name

Returns 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 Affero General Public License".

Note: this method is not inherited from base class.

name

This method meets <Software::License> specification: returned name starts with definitive capitalized article ("The"). Returned name also includes the base license version (like other Software::LIcense licenses do) (without trailing plus sign) and "or later" clause.

program

Returns a program name as specified by the program option in constructor, or the Program option in constructor, in "this program". This form of program name is intended to be used in the middle of sentence.

Note: this method is not inherited from base class.

Program

Returns a program name as specified by the Program option in constructor, the program option in constructor, "This program". This form of program name is intended to be used in the beginning of sentence.

Note: this method is not inherited from base class.

notice

This method overrides Software::License's notice. Differences are:

  • If the license object was created with program option, 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.

version

Returns base license version with appended plus sign.

AUTHOR

Van de Bugger <van.de.bugger@gmail.com>

COPYRIGHT AND LICENSE

Copyright © 2015 Van de Bugger

This file is part of perl-Software-License-OrLaterPack.

perl-Software-License-OrLaterPack is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

perl-Software-License-OrLaterPack is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with perl-Software-License-OrLaterPack. If not, see <http://www.gnu.org/licenses/>.