NAME

Software::Policies::License - Create project policy file: License

VERSION

version 0.002

DESCRIPTION

Only Perl_5 License supported currently.

METHODS

new

create

Create the policy.

Options:

class

Available classes: Please see licenses in Software::License. Default: Perl_5

version

Available versions: 1 (default).

format

Available formats: text (default).

options

Required options:

perl_5_double_license

Instead of LICENSE, create files LICENSE-GPL-3 and LICENSE-Artistic-2.0. GitHub recognizes these.

Non-mandatory options: See Software::License.

get_available_classes_and_versions

Return a hash with classes as keys. Example:

{
    'Perl_5' => {
        versions => {
            '1' => 1,
        },
        formats => {
            'text' => 1,
        },
    },
}

AUTHOR

Mikko Koivunalho <mikkoi@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2025 by Mikko Koivunalho.

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