Softwa...r_later(3pm)

πŸ’– Software::License::LGPL_2_1::or_later πŸ’–

okay bestie, so this page lives in the User Contributed Perl Documentation section, and the manual name is Softwa...r_later(3pm) β€” yes that's really how it got truncated, don't ask, it's giving filename-too-long energy 😭


✨ NAME ✨

Software::License::LGPL_2_1::or_later β€” the LGPLv2.1+ license for the Software::License infrastructure. periodt πŸ’…


🌸 VERSION 🌸

Version v0.10.2, released on 2016-10-10 22:17 UTC. vintage but still iconic.


πŸ¦‹ WHAT? πŸ¦‹

okay so, Software-License-OrLaterPack (or just OrLaterPack when we're being brief, which, same) is an add-on for Software-License β€” it's a whole set of licenses with an "or later" clause, like GPL_3::or_later. What it does is let Perl developers (the ones using Dist-Zilla) release their work under the terms of a License version N or (at user option) any later version. so much freedom, we love that for them 🫢

This here is the Software::License::LGPL_2_1::or_later module documentation. Read it if you're gonna hack or extend the module, or if you're using the module directly. iykyk.

If you just want to use a GNU license with the "or later" clause, bestie go read the user manual instead. And general topics like getting source, building, installing, bug reporting and some others? Those are all covered in the README file. ✨


πŸ’œ SYNOPSIS πŸ’œ

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

$lic->_abbr;    # 'LGPL'
$lic->abbr;     # 'LGPLv2.1+'
$lic->_name;    # 'GNU Lesser General Public License'
$lic->name;     # 'The GNU Lesser General Public License version 2.1 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.

# Xand other methods inherited from Software::License::LGPL_2_1
# and Software::License.
ngl that Xand is exactly what the original says, so I'm leaving it. not me fixing typos that aren't mine πŸ™ˆ

πŸŽ€ DESCRIPTION πŸŽ€

Software::License::LGPL_2_1::or_later is a subclass of Software::License::LGPL_2_1. It overrides a few parent methods and introduces a few methods of its own. it's giving glow-up but make it inheritance πŸ’…

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


πŸ‘‘ OBJECT ATTRIBUTES πŸ‘‘

πŸ’« _abbr

Bare abbreviated license name, LGPL.

Note: this attribute is not inherited from the base class.

πŸ’« abbr

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

Note: this attribute is not inherited from the base class.

πŸ’« base

A reference to the base license object β€” i. e. the license without the "or later" clause.

Note: this attribute is not inherited from the base class.

πŸ’« _name

Bare name of the license, which is also the bare name of the base license, because it includes neither the definitive article ("The"), nor the license version, nor the "or later" clause: GNU Lesser General Public License.

Note: this attribute is not inherited from the base class.

πŸ’« name

This attribute meets the Software::License specification: the returned name starts with the definitive capitalized article ("The"). The returned name also includes the base license version (like other Software::License classes do) (without a trailing plus sign) and the "or later" clause.

πŸ’« program

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

Note: this attribute is not inherited from the base class.

πŸ’« Program

A program name as specified by the Program option in the constructor, or the program option in the constructor, or This program. This form of program name is intended to be used at the beginning of a sentence (capitalized, main character energy, as it should be πŸ‘‘).

Note: this attribute is not inherited from the base class.

πŸ’« version

License version β€” that's the base license version with a plus sign appended, to denote the "or later" clause.


🌈 OBJECT METHODS 🌈

πŸ“ notice

This method overrides Software::License's notice. The differences are, and bestie listen:

  • If the license object was created with the program or Program option, or both, the notice will include the real program name instead of the generic this program.
  • It returns a copyright statement followed by the standard GNU 3-paragraph license notice.
  • The result is formatted with Text::Wrap::fill.

The method can be called with the 'short' argument to get the short version of the notice. The short version includes: the copyright statement, the license name, and two sentences about free software and warranties. Note: This is an experimental feature.

⚠️ fr fr, experimental means experimental. don't come for me if it shifts.

πŸ’– AUTHOR πŸ’–

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.


and that's the whole page, bestie 🫢 this doc shipped with perl v5.32.0 and was dated 2021-01-18 β€” slay, iconic, no notes βœ¨πŸŽ€πŸ’œ