NAME
CPANPLUS::Dist::Debora::License - Read license files
VERSION
version 0.009
SYNOPSIS
use CPANPLUS::Dist::Debora::License;
my $license = CPANPLUS::Dist::Debora::License->new({
package => $package,
holder => $holder,
year => $year,
});
print $license->license;
DESCRIPTION
This Software::License subclass reads license texts from files and Pod documents.
SUBROUTINES/METHODS
new
my $license = CPANPLUS::Dist::Debora::License->new({
package => $package,
holder => $holder,
});
Creates a new object. The CPANPLUS::Dist::Debora::Package object parameter and the copyright holder are mandatory.
name
Returns "Unknown license".
url
Returns the undefined value.
meta_name
Returns "restrictive".
meta2_name
Returns "restricted".
spdx_expression
Returns a short license name or "Unknown".
license
Returns the license text or the empty string.
DIAGNOSTICS
None.
CONFIGURATION AND ENVIRONMENT
None.
DEPENDENCIES
Requires the module Software::License from CPAN.
INCOMPATIBILITIES
None.
AUTHOR
Andreas Vögele <voegelas@cpan.org>
BUGS AND LIMITATIONS
None known.
LICENSE AND COPYRIGHT
Copyright 2022 Andreas Vögele
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.