Scroll to navigation

Debian::LicenseReconcile::Filter::Rules(3pm) User Contributed Perl Documentation Debian::LicenseReconcile::Filter::Rules(3pm)

NAME

Debian::LicenseReconcile::Filter::Rules - applies licensecheck to get data

VERSION

Version 0.17

SYNOPSIS

    use Debian::LicenseReconcile::Filter::Rules;
    my $filter = Debian::LicenseReconcile::Filter::Rules->new(
        directory=>'.',
        files_remaining=>[....],
        config=>[....],
    );
    my @info = $filter->get_info();

SUBROUTINES/METHODS

get_info

Returns a list of hash references describing copyright and license information that should be checked against the copyright target. The results returned are those obtained by applying the rules in the config file in sequence. Each rule might have the fields as discussed in Debian::LicenseReconcile::Filter.

In addition the following fields are supported:

AUTHOR

Nicholas Bamber, "<nicholas at periapt.co.uk>"

LICENSE AND COPYRIGHT

Copyright 2012, 2015, Nicholas Bamber "<nicholas at periapt.co.uk>".

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

2019-07-15 perl v5.28.1