Scroll to navigation

Software::LicenseMoreUtils::LicenseWithSummary(3pm) User Contributed Perl Documentation Software::LicenseMoreUtils::LicenseWithSummary(3pm)

NAME

Software::LicenseMoreUtils::LicenseWithSummary - Software::License with a summary

VERSION

version 1.009

SYNOPSIS

See Software::LicenseMoreUtils. This class should be created with
"new_from_short_name" in Software::LicenseMoreUtils

DESCRIPTION

This module provides a wrapper around all "Software::License::*" to add a summary.

Methods

This class provides all the methods of the underlying Software::License object and the following methods.

summary

Returns the license summary, or an empty string.

summary_or_text

Returns the license summary or the text of the license. Like "fulltext" in Software::License, this method also returns the copyright notice if "holder" parameter was set when calling "new_from_short_name" in Software::LicenseMoreUtils.

distribution

Returns the name of the Linux distribution found by this module. This method is intended for tests or debugging.

license_class

Returns the Perl class name of the underlying Software::License object. E.g. "Software::License::AGPL_3"

AUTHOR

Dominique Dumont

COPYRIGHT AND LICENSE

This software is copyright (c) 2018, 2022 by Dominique Dumont.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-06-04 perl v5.34.0